Skip to content

General

Authentication required

The request carried no credentials, or none the API could use. Sign in and send the request again.

HTTP 401UNAUTHORIZED

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/unauthorized",
  "title": "Authentication required",
  "status": 401,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "UNAUTHORIZED",
  "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.