Skip to content

Sign-in

Invalid or expired token

The access token is malformed or has expired. Refresh the session and send the request again; the admin app does this on its own.

HTTP 401TOKEN_INVALID

In the response

Besides the standard members type, title, status, detail, instance, plus code and requestId:

Nothing else. This error carries no errors or meta.

Example response

HTTP 401 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/token-invalid",
  "title": "Invalid or expired token",
  "status": 401,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "TOKEN_INVALID",
  "requestId": "<also sent as X-Request-Id>"
}

Values in angle brackets vary per request. Quote the requestId when reporting an error; it is how the server’s log line is found.