Skip to main content

Error response structure

  • RESPONSE_TYPE_ENUM - The type of response for which the error occurred. It can be INITIATE, VERIFY, or FAILED.
  • INTEGER_STATUS_CODE - The HTTP status code or a status code curated by Otpless.
  • ERROR_CODE - The error code for the specific error curated by Otpless.
  • ERROR_MESSAGE - The error message that describes the error in detail.

Errors for different Response Types

Bad requests:



Unauthorized requests:

HTTP Status Code 429: Too Many Requests:


Network connectivity errors: