token_required

Access

What happened

A route that belongs to an account needs the access token as a Bearer token in the Authorization header. A request with none, or with an empty one, is refused with 401.

What to do

Sign in, then send Authorization: Bearer <access token> with the request.

Example

json
{
  "error": {
    "code": "token_required",
    "message": "Sign in first, and send the access token as a Bearer token.",
    "detail": {
      "request_id": "3c6f9a52-8e1d-4b7a-9f20-6d41a8c5e7b3"
    }
  }
}

Ask about this in the forum