invalid_cursor
The cursor did not come from a previous page of this list.
What it means
The cursor did not come from a previous page of this list.
How to fix it
Send the previous page's cursor unchanged, or start again from the first page.
Where it comes from
422 invalid_cursor from 1 endpoint:
The error body carries this code in error.code. Branch on the code, not on message. See the errors guide.