s46 API

Errors and status codes

Shared error response contract.

Errors and status codes

All failures return JSON:

{
  "error": {
    "code": "invalid_request",
    "message": "invalid request"
  }
}

Common codes

HTTPCodeMeaning
400invalid_requestmalformed JSON, invalid team slug, unsupported state
401unauthorizedmissing/expired bearer token or admin credential
403forbiddenauthenticated user lacks owner/admin role for target org/team
404not_foundtarget resource does not exist
409conflictresource conflict or duplicate state
410expiredlogin or magic link expired
428authorization_pendingdevice login not approved yet
503email_unavailableproduction invite email delivery is not configured or failed

Clients should branch on status plus error.code.

On this page