Error Codes

All errors return a JSON body with an error field:

json
{ "error": "Human-readable error message" }
CodeMeaningDescription
400Bad RequestMissing or invalid request parameters.
401UnauthorizedInvalid or missing API key or session.
402Payment RequiredCredit balance depleted. Add credits to continue.
403ForbiddenInsufficient permissions for this action.
403Publishable Key DeniedPublishable keys can only access widget endpoints.
403Scope DeniedThis API key does not have the required scope for this endpoint.
404Not FoundResource does not exist.
429Too Many RequestsRate limit exceeded. Back off and retry.
500Internal Server ErrorUnexpected server error. Contact support.