Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs
Errors

The access token does not allow this

The `forbidden` error: HTTP 403 Forbidden.

The access token is valid, but doesn't allow this.

FieldValue
codeforbidden
status403 Forbidden
titleThe access token does not allow this

The API answers every error with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is forbidden. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/forbidden",
  "title": "The access token does not allow this",
  "status": 403,
  "code": "forbidden",
  "requestId": "4bf92f3577b34da6a3ce929d0e0e4736"
}

requestId is the request's ID, the same as its Request-Id header: send it with any question to support.