Skip to content
LogoLogo

Public v2 errors are application/json. The type field is a bare token, not a URI — it groups related codes, and several codes deliberately share one. Branch on code, which is unique.

CodeTypeShares type withAlso an auth code
cancellation_conflictconflictconflictno
conflictconflictcancellation_conflictyes
event_history_expiredgone—no
forbiddenforbiddenworkspace_suspendedyes
internal_errorinternal_error—no
invalid_requestinvalid_request—yes
not_foundnot_found—yes
payload_too_largepayload_too_large—no
rate_limitedrate_limited—yes
service_unavailableservice_unavailable—no
unauthorizedunauthorized—no
unsupported_media_typeunsupported_media_type—no
workspace_suspendedforbiddenforbiddenno

Response shape

{
  "type": "conflict",
  "code": "cancellation_conflict",
  "message": "a human-readable explanation",
  "request_id": "01JQ...",
  "details": null
}

Treat code as an open enumeration: new codes may be added without a major version, so always keep a default branch. The 33 authentication codes are documented separately under problem codes.