Error map

CSRF prevention Apollo Server: This operation has been blocked as a potential Cross-Site Request Forgery (CSRF)

API · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). 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.

CSRF prevention — Apollo Server: This operation has been blocked as a potential Cross-Site Request Forgery (CSRF) (API)CSRF preven…Variable of required type was not provided — GraphQL: Variable "$id" of required type "ID!" was not provided. (API)Variable of require…CORS — CORS Error: No 'Access-Control-Allow-Origin' header is present (API)CORSquery is too complex — GraphQL: Query is too complex / exceeds maximum operation depth / complexity limit (API)query is too complexGRAPHQL_VALIDATION_FAILED — GraphQL: Cannot query field "x" on type "Y" (API)GRAPHQL_VALIDATION_…Django CSRF — Forbidden (403) CSRF verification failed. Request aborted. (Python)Django CSRFstate mismatch — OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing (Authentication)state mismatchCannot return null for non-nullable field — GraphQL: Cannot return null for non-nullable field Query.user (API)Cannot return null …GraphQL Syntax Error — GraphQL: Syntax Error: Expected Name, found <EOF> / Unexpected } (API)GraphQL Syntax Errorinvalid csrf token — ForbiddenError: invalid csrf token (EBADCSRFTOKEN) (Authentication)invalid csrf tokenPersistedQueryNotFound — GraphQL: PersistedQueryNotFound — Apollo persisted query hash not in cache (API)PersistedQueryNotFo…GRAPHQL_VALIDATION_FAILED — GraphQL: GRAPHQL_VALIDATION_FAILED — Unknown argument / Unknown type / Variable used in position expecting (API)GRAPHQL_VALIDATION_…must have a selection of subfields — GraphQL: Field "user" of type "User" must have a selection of subfields (API)must have a selecti…400 — HTTP 400 Bad Request (HTTP)400parameter_missing — API Error: Missing required parameter (parameter_missing / "x" is required) (API)parameter_missinginvalid_type — API Error: Invalid type — expected integer, received string (API)invalid_typeAccessDenied — AWS S3: AccessDenied (403) when calling GetObject / PutObject (AWS)AccessDenied401 — HTTP 401 Unauthorized (HTTP)401403 — HTTP 403 Forbidden (HTTP)403429 — HTTP 429 Too Many Requests (HTTP)429EMFILE — Too many open files (EMFILE) (Linux)EMFILElimit too large — API Error: limit must be less than or equal to 100 (page size exceeds maximum) (API)limit too large200 — HTTP 200 OK (but something is still wrong) (HTTP)2001005 — MySQL ERROR 1005 (HY000): Can't create table (errno: 150 "Foreign key constraint is incorrectly formed") (MySQL)10051007 — MySQL ERROR 1007 (HY000): Can't create database 'x'; database exists (MySQL)1007419 Page Expired — Laravel: 419 Page Expired (CSRF token mismatch) (PHP)419 Page ExpiredPython not found — Python was not found; run without arguments to install from the Microsoft Store (Python)Python not foundDjango no such table — django.db.utils.OperationalError: no such table: app_model (Python)Django no such table431 — HTTP 431 Request Header Fields Too Large (HTTP)431Cookies are blocked — WordPress login: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. (WordPress)Cookies are blockedlogin_required — OIDC Error: login_required / interaction_required / consent_required (silent authentication failed) (Authentication)login_requiredresource_missing — API Error: No such object / resource_missing (resource not found by ID) (API)resource_missingconcurrent_requests_limit — API Error: Too many concurrent requests (concurrency limit reached) (API)concurrent_requests…job not found — API Error: Job / operation not found or expired (async task ID unknown) (API)job not foundParse error — PHP Parse error: syntax error, unexpected … (PHP)Parse errorIndentationError — IndentationError: unexpected indent / expected an indented block (Python)IndentationErrorUnexpected token < — SyntaxError: Unexpected token '<' (HTML served instead of JavaScript) (JavaScript)Unexpected token <ExpiredToken — AWS: ExpiredToken — The security token included in the request is expired (AWS)ExpiredTokenwebhook signature — Webhook signature verification failed (Stripe, Razorpay, GitHub…) (API)webhook signaturesession_start() — Warning: session_start(): Session cannot be started after headers have already been sent (PHP)session_start()no Route matched — Kong: {"message":"no Route matched with those values"} (API)no Route matchedsubscription key — Azure API Management: 401 Access denied due to missing subscription key (API)subscription keyCould not resolve reference — OpenAPI: Could not resolve reference: $ref not found (API)Could not resolve r…422 — HTTP 422 Unprocessable Content (HTTP)422NumberFormatException — java.lang.NumberFormatException: For input string: "x" (Java)NumberFormatExcepti…IllegalArgumentException — java.lang.IllegalArgumentException (Java)IllegalArgumentExce…

Directly related (12)

Variable of required type was not providedAPI

GraphQL: Variable "$id" of required type "ID!" was not provided.

A GraphQL operation declares a non-null variable, but the request didn’t include a value for it.

CORSAPI

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…

query is too complexAPI

GraphQL: Query is too complex / exceeds maximum operation depth / complexity limit

The server rejected the query because it’s too deep or too expensive according to its depth/complexity limits.

GRAPHQL_VALIDATION_FAILEDAPI

GraphQL: Cannot query field "x" on type "Y"

The query asks for a field that doesn’t exist in the server’s schema (or isn’t available on that type).

Django CSRFPython

Forbidden (403) CSRF verification failed. Request aborted.

Django rejected a POST because the CSRF token was missing, wrong, or the request origin isn’t trusted.

state mismatchAuthentication

OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing

The state value returned to the callback doesn’t match what the app stored before redirecting — the CSRF protection for OAuth fai…

Cannot return null for non-nullable fieldAPI

GraphQL: Cannot return null for non-nullable field Query.user

A resolver returned null (or threw) for a field the schema marks as non-null (!), so GraphQL nulls out the parent and reports thi…

GraphQL Syntax ErrorAPI

GraphQL: Syntax Error: Expected Name, found <EOF> / Unexpected }

The GraphQL document is malformed — unbalanced braces, a stray comma/character, or an empty query.

invalid csrf tokenAuthentication

ForbiddenError: invalid csrf token (EBADCSRFTOKEN)

The request’s CSRF token is missing or doesn’t match the token tied to the user’s session/cookie.

PersistedQueryNotFoundAPI

GraphQL: PersistedQueryNotFound — Apollo persisted query hash not in cache

The server does not know the persisted query hash the client sent.

GRAPHQL_VALIDATION_FAILEDAPI

GraphQL: GRAPHQL_VALIDATION_FAILED — Unknown argument / Unknown type / Variable used in position expecting

The query is syntactically valid but does not match the schema.

must have a selection of subfieldsAPI

GraphQL: Field "user" of type "User" must have a selection of subfields

You queried an object field without choosing which subfields to return.

Two steps away (33)

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

parameter_missingAPI

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…

invalid_typeAPI

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…

AccessDeniedAWS

AWS S3: AccessDenied (403) when calling GetObject / PutObject

An IAM policy, bucket policy, ACL/ownership setting, Block Public Access or KMS key policy denied the S3 request.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

429HTTP

HTTP 429 Too Many Requests

You’ve hit a rate limit — too many requests in a given time window. Slow down and retry later.

EMFILELinux

Too many open files (EMFILE)

The process hit its file-descriptor limit — sockets, files and pipes all count.

limit too largeAPI

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.

200HTTP

HTTP 200 OK (but something is still wrong)

The request succeeded at the HTTP level — yet the page is blank, the data is wrong, or an error is hidden inside the response bod…

1005MySQL

MySQL ERROR 1005 (HY000): Can't create table (errno: 150 "Foreign key constraint is incorrectly formed")

A foreign key definition is invalid — the referenced column’s type, index or charset doesn’t match.

1007MySQL

MySQL ERROR 1007 (HY000): Can't create database 'x'; database exists

CREATE DATABASE ran for a database that already exists.

419 Page ExpiredPHP

Laravel: 419 Page Expired (CSRF token mismatch)

Laravel rejected a POST because the CSRF token was missing, expired or didn’t match the session.

Python not foundPython

Python was not found; run without arguments to install from the Microsoft Store

Windows ran the Microsoft Store “App execution alias” instead of a real Python installation.

Django no such tablePython

django.db.utils.OperationalError: no such table: app_model

Django queried a table that hasn’t been created — migrations missing or not applied.

431HTTP

HTTP 431 Request Header Fields Too Large

The request headers — almost always cookies — exceed the server’s size limit.

Cookies are blockedWordPress

WordPress login: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

WordPress’s test cookie wasn’t returned on login — often a siteurl/home or domain mismatch, caching of wp-login.php, or headers a…

login_requiredAuthentication

OIDC Error: login_required / interaction_required / consent_required (silent authentication failed)

A silent sign-in (prompt=none, iframe or refresh) couldn’t complete because the user must interact — no session, consent needed,…

resource_missingAPI

API Error: No such object / resource_missing (resource not found by ID)

The endpoint exists, but the ID you passed — in the URL or as a reference in the body — doesn’t match any record the caller can s…

concurrent_requests_limitAPI

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.

job not foundAPI

API Error: Job / operation not found or expired (async task ID unknown)

The status URL or job ID for an asynchronous operation (export, import, render, batch) doesn’t exist any more, or never existed.

Parse errorPHP

PHP Parse error: syntax error, unexpected …

PHP can’t parse the file because of a syntax mistake — the real error is often on the line before the one reported.

IndentationErrorPython

IndentationError: unexpected indent / expected an indented block

Python’s block structure is broken — inconsistent indentation or mixed tabs and spaces.

Unexpected token <JavaScript

SyntaxError: Unexpected token '<' (HTML served instead of JavaScript)

The browser loaded a .js file but received HTML (an error page or the SPA index.html).

ExpiredTokenAWS

AWS: ExpiredToken — The security token included in the request is expired

Temporary AWS credentials (STS/SSO/assumed role) have expired.

webhook signatureAPI

Webhook signature verification failed (Stripe, Razorpay, GitHub…)

Your endpoint computed a different HMAC signature than the one the provider sent, so the webhook is rejected.

session_start()PHP

Warning: session_start(): Session cannot be started after headers have already been sent

session_start() ran after output was sent, so PHP can’t set the session cookie.

no Route matchedAPI

Kong: {"message":"no Route matched with those values"}

Kong has no route for the host, path or method.

subscription keyAPI

Azure API Management: 401 Access denied due to missing subscription key

The request lacks the APIM subscription key.

Could not resolve referenceAPI

OpenAPI: Could not resolve reference: $ref not found

A `$ref` in the OpenAPI document points to a missing target.

422HTTP

HTTP 422 Unprocessable Content

The request is well-formed, but the data fails validation (e.g. invalid email, missing required field).

NumberFormatExceptionJava

java.lang.NumberFormatException: For input string: "x"

A string couldn’t be parsed as a number — it’s empty, has spaces/commas, is too large, or isn’t numeric.

IllegalArgumentExceptionJava

java.lang.IllegalArgumentException

A method rejected an argument value as invalid.