Errors & Response Envelope

Predictable error envelopes with typed error codes and zero charge guarantees.

Standard Error Envelope

{
  "success": false,
  "error": {
    "code": "INSUFFICIENT_BALANCE",
    "message": "Insufficient wallet balance. Add funds to continue."
  },
  "meta": {
    "request_id": "req_01JEXAMPLE000000000000"
  }
}

Documented Error Codes

HTTPError CodeDescriptionCharged
400VALIDATION_ERRORPlease check the entered fields and try again.Never
401UNAUTHORIZEDYour session has expired. Please sign in again.Never
401INVALID_API_KEYThe provided API key is invalid or has been revoked.Never
402INSUFFICIENT_BALANCEInsufficient wallet balance. Add funds to continue.Never
403FORBIDDENYou do not have permission to perform this action.Never
403INSUFFICIENT_SCOPEThis API key lacks the required platform scope.Never
403IP_NOT_ALLOWEDYour request IP address is not in this API key's allowlist.Never
403ORGANIZATION_SUSPENDEDThis organization is currently suspended.Never
403ENDPOINT_DISABLEDThis endpoint is currently disabled.Never
403CORS_DENIEDCross-origin browser requests are not allowed.Never
404NOT_FOUNDThe requested resource was not found.Never
405METHOD_NOT_ALLOWEDHTTP method is not allowed on this route.Never
409IDEMPOTENCY_CONFLICTIdempotency-Key was reused with different parameters.Never
409IDEMPOTENCY_IN_PROGRESSA concurrent request with this Idempotency-Key is still in progress.Never
429RATE_LIMITEDToo many attempts. Please wait a moment before trying again.Never
429PROVIDER_RATE_LIMITEDUpstream platform rate limit exceeded. Please retry shortly.Never
502UPSTREAM_ERRORThe upstream provider returned an unexpected error.Never
502BILLING_FINALIZATION_FAILEDBilling finalization failed; no charge was recorded and data was withheld.Never
503SERVICE_UNAVAILABLEA backing dependency is temporarily unavailable.Never
503PROVIDER_UNAVAILABLEThe upstream provider is temporarily unavailable.Never
503PROVIDER_NOT_CONFIGUREDThe upstream provider is not configured yet.Never
504UPSTREAM_TIMEOUTThe upstream provider request timed out before completion.Never
500CATALOG_UNAVAILABLEUnable to load the API catalog right now.Never
500INTERNAL_ERRORAn unexpected internal error occurred.Never