Ulsav Docs

otp_invalid

the code is invalid or expired

Returned with 401 Unauthorized.

What it means

the code is invalid or expired

Response

{
  "type": "https://docs.ulsav.com/developers/problems/otp_invalid",
  "title": "Unauthorized",
  "status": 401,
  "code": "otp_invalid",
  "detail": "the code is invalid or expired",
  "requestId": "01j0000000000000000000000",
  "errors": []
}

Handling

  • Branch on code, not on detail: the wording is written for humans and may change.
  • Show detail to the person who made the request when it is actionable, and do not retry a 4xx unchanged.
  • Send requestId with a support request; it locates the request in the logs.

All problem codes

On this page