Here is the full move sequence for level 22. The letters stand for Up, Right, Down and Left, and a number means repeat that direction that many times.
R, U, L, D, L, U, R3, U, R2, D, R, D, R2, U, L, D, L, U, L, D, R2, D3, L, D, U, R, U3, L2, U, R, D, R, D, R, U, L3, U, L3, D, L, D, L2, U, R, D2, L, U, R2, D, L, U2, R, D, L, U, R, D, L, D3, R, D, U, L, U3, R, U, L, D, L, U, R3, U, R2, D, R2, D2, L, U, R3, U
Two things trip people up. First, the block's orientation matters: standing upright versus lying flat changes which moves are legal, so if a step is refused you have mis-entered something earlier. Second, entering the sequence too fast will cause inputs to drop. Pause between directions rather than pasting the whole list at once.