For the complete documentation index, see llms.txt. This page is also available as Markdown.

AUTH_SESSION_MALFORMED

The bearer token is not a parseable JWT.

401 Unauthorized · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/auth-session-malformed",
  "title": "Unauthorized",
  "status": 401,
  "code": "AUTH_SESSION_MALFORMED",
  "detail": "Human-readable explanation.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

The bearer token is not a parseable JWT.

How to fix it

Send the full token returned by the login endpoint, with no extra characters.