Skip to Content
XebraDocs
Errors

unauthorized

401 Unauthorized.

HTTP 401. type: https://docs.xebra.exchange/errors/unauthorized

What it means

The API key sent in Authorization: Bearer ... was not accepted.

What to do

Check the key. Today the API needs no key at all, so you only see this if keys are switched on and yours is wrong or revoked.

API keys are not issued yet. See the changelog.

Example

{
  "type": "https://docs.xebra.exchange/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "…",
  "code": "unauthorized"
}

Every error has this shape. See Errors for how to handle them.

On this page