🔌 API errors

REST/GraphQL API errors: invalid tokens, CORS, rate limits, timeouts and malformed requests.

CodeErrorWhat it means
invalid_api_key API Error: Invalid API Key / Incorrect API key provided The API didn’t recognise the key sent with the request — it’s wrong, revoked, from another environment, or se…
ETIMEDOUT API Request Timed Out (ETIMEDOUT / ReadTimeout / timeout of 30000ms exceeded) The client gave up waiting — either for the connection to open or for the response to arrive.
CORS 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 allo…
ENOTFOUND Error: getaddrinfo ENOTFOUND host / Name or service not known DNS lookup for the hostname failed — the name is wrong, doesn’t exist, or this machine can’t resolve it.
ECONNRESET Error: socket hang up / read ECONNRESET The other side closed the TCP connection abruptly while your client was still using it.
GRAPHQL_VALIDATION_FAILED 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).
Mixed Content Mixed Content: The page was loaded over HTTPS, but requested an insecure resource An HTTPS page tried to load a script, API or image over plain HTTP, and the browser blocked (or warned about)…
CERTIFICATE_VERIFY_FAILED SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate The client couldn’t verify the server’s TLS certificate chain, so it refused the HTTPS connection.
webhook signature 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.