Error map
pagination loop Infinite pagination loop / duplicate records when paging an API (cursor or offset drift)
API · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (6). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (6)
API Error: Invalid pagination cursor (invalid_cursor / cursor expired)
The page token or cursor you passed is malformed, expired, or was generated for a different query.
API Error: limit must be less than or equal to 100 (page size exceeds maximum)
You asked for more items per page than the endpoint allows.
429 quota exceeded (daily/monthly API limit)
Unlike short-term rate limiting, you used up your daily or monthly allowance for the API key.
API: 410 Gone — this API version has been sunset / Deprecation and Sunset headers
The version of the API you call has been retired, so the server returns 410 or an upgrade error.
API Error: Batch size exceeds maximum (max 100 items per request) / too many operations in one request
A bulk or batch endpoint received more items than it allows.
Elasticsearch: Result window is too large, from + size must be less than or equal to: [10000]
A paginated search asked for results beyond the default 10,000 window.
Two steps away (12)
HTTP 400 Bad Request
The server could not understand the request because its syntax, headers or body are malformed or invalid.
CORS Error: No 'Access-Control-Allow-Origin' header is present
The browser blocked a cross-origin request because the server’s response didn’t include the CORS headers allowing your site’s ori…
Error: socket hang up / read ECONNRESET
The other side closed the TCP connection abruptly while your client was still using it.
API Error: Missing required parameter (parameter_missing / "x" is required)
The API rejected the request because a field it requires — in the query string, path, headers or JSON body — wasn’t sent or was e…
API Error: Invalid type — expected integer, received string
A request field has the wrong data type — a string where the API expects a number, a number where it expects a boolean, an object…
API Error: Invalid parameter value — must be one of the allowed values / out of range
The field has the right type but a value the API doesn’t allow — not in the list of accepted options, too small or large, too lon…
HTTP 429 Too Many Requests
You’ve hit a rate limit — too many requests in a given time window. Slow down and retry later.
API/app requests get 403 with cf-mitigated: challenge (Bot Fight Mode / challenge on non-browser clients)
Cloudflare is answering API calls, webhooks or mobile-app requests with a challenge page (HTML 403) because bot protection treats…
Browser: Access to XMLHttpRequest at 'https://api.example.com' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header — Laravel
The browser blocked a cross-origin call to your Laravel API because the response lacks the right CORS headers.
API Error: Too many concurrent requests (concurrency limit reached)
You have more requests in flight at once than the API allows for your key — even if your requests-per-minute rate is fine.
Upload error: File too large (LIMIT_FILE_SIZE / file exceeds maximum upload size)
The uploaded file is larger than the limit set by the API, framework or server.
Braintree: Processor declined (2000 Do Not Honor) / Adyen: Refused — Declined
The card issuer refused the transaction after the gateway forwarded it.