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

AUTH_INVALID_CREDENTIAL

Invalid API key.

401 Unauthorized · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/auth-invalid-credential",
  "title": "Unauthorized",
  "status": 401,
  "code": "AUTH_INVALID_CREDENTIAL",
  "detail": "Invalid API key",
  "instance": "/…",
  "traceId": "…"
}

When it happens

The API key or session token was present but did not match any active credential — wrong secret, revoked key, or a key whose user was deactivated.

How to fix it

Check the key was copied in full. If it was rotated or revoked, use the new one; recover access with the wallet-recovery flow if needed.