Skip to main content

Documentation Index

Fetch the complete documentation index at: https://dev.1st.app/llms.txt

Use this file to discover all available pages before exploring further.

HTTP status: 400

Message

The cursor value you sent is corrupted or too old. Drop the ?cursor=... parameter and start the loop over.

What this means

When you ask for a long list, the API hands you a “bookmark” (next_cursor) you send back to get the next batch. This error means the bookmark you sent is broken. Usually one of:
  • You saved a bookmark from a script run last week and tried to use it today. Bookmarks don’t last; use them within a single run.
  • Your code accidentally modified the bookmark string (URL-decoded it, trimmed it, etc.). The bookmark has to come back exactly as the API sent it.
  • The data the bookmark pointed to is gone (e.g., a device that was removed from your team between the calls).

Fix

Start the loop over without the ?cursor= parameter. Walk through all the pages in one continuous run instead of pausing in between. If you’re asking an AI to write the code, just say “walk all the pages in one loop” and it’ll handle this correctly.