400: Invalid Cursor

Can you post an example of your code so we can perhaps see what might be the problem.