Skip to content

Sign-in

Incorrect verification code

The two-factor code is wrong or has expired. Request or generate a new one and try again.

HTTP 422TWO_FACTOR_CODE_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 422 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/two-factor-code-invalid",
  "title": "Incorrect verification code",
  "status": 422,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "TWO_FACTOR_CODE_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.