Skip to Content
GuidesError responses

Error responses

Every error carries an HTTP status code and a structured JSON body with a stable, machine- readable code and a human-readable message.

{ "success": false, "code": "invalid_client_credentials", "message": "The provided clientId or clientSecret is invalid" }

Branch on the code, not the message — messages may be reworded, codes are stable.

Common codes

StatuscodeMeaning
400validation_errorThe request body or query failed validation
401invalid_client_credentialsMissing or wrong client id / secret
403insufficient_scopeThe credential lacks the required scope
403credential_inactiveThe credential has been revoked
403client_inactiveThe project/account is not active
403customer_not_accessibleThe customer isn’t mapped to this project
404not_foundThe resource doesn’t exist

See Authentication for the auth-specific cases.