Session token invalid

Moses SkodaEngineer1 min read

The API answers 401 Unauthorized with this problem. Its type is https://lingo.dev/docs/api/errors/session-token-invalid. See Errors and status codes for the shape every error shares.

The bearer token in the Authorization header is not a Lingo.dev session token. Sign in again for a new one; send an API key in the X-API-Key header instead.

Fields#

This problem carries only the standard members.

Example#

json
{
  "detail": "The bearer token in the Authorization header is not a Lingo.dev session token. Sign in again for a new one; send an API key in the X-API-Key header instead.",
  "type": "https://lingo.dev/docs/api/errors/session-token-invalid",
  "status": 401,
  "title": "Session token invalid"
}

Returned by#

Any endpoint, from the checks every request goes through before the endpoint's own work.