INVALID_CURSOR
A cursor only works with the query that produced it: the same endpoint and the same filters, passed back exactly as it came.
How to fix it
Section titled “How to fix it”Start again from the first page, without cursor. Do not build cursors yourself, edit them, or reuse one after
changing a filter. See Pagination.