Skip to content

Errors

Non-2xx responses use a stable envelope:

{
  "error": {
    "type": "authorization_error",
    "code": "insufficient_scope",
    "message": "This endpoint requires the \"write:posts\" scope, which this key does not have.",
    "request_id": "req_…"
  }
}

code is the precise reason; type is the broad category; request_id echoes the X-Request-Id header for support.

codetypestatus
account_suspendedauthorization_error403
conflictconflict_error409
feature_not_availableauthorization_error403
forbiddenauthorization_error403
idempotency_conflictconflict_error409
insufficient_scopeauthorization_error403
internal_errorapi_error500
invalid_keyauthentication_error401
invalid_mediainvalid_request_error400
invalid_requestinvalid_request_error400
key_expiredauthentication_error401
method_not_allowedinvalid_request_error405
missing_keyauthentication_error401
not_foundnot_found_error404
payload_too_largeinvalid_request_error413
quota_exceededrate_limit_error429
rate_limitedrate_limit_error429
subscription_requiredauthorization_error403
unprocessableinvalid_request_error422