Error Codes

This error codes is additional information to explain what happened when some errors occured. The following table describe the code which may appear when working with OCA SMS OTP Gateway. If an error is not listed in the table, going back to HTTP status codes above in order to determine the best way to address the issues.

Code TextDescription

13

Internal Error

Corresponds with HTTP 500. An unknown internal error occured

17

Invalid Authentication Credentials

Corresponds with HTTP 401. It indicates the credential is missing or incorrect

19

Missing Authorization Header

Corresponds with HTTP 406. It indicates Authorization header is not set properly

39

[object]

Corresponds with HTTP 406. There are incorrects or missing parameter in request body, it is like the message_value is not same as the template message

41

User Is Not Exist

Corresponds with HTTP 404. The certain user setting is not found

51

Account Expired

Corresponds with HTTP 401. It indicates the client Account is Expired.

55

Your Quota Is not Enough

Corresponds with HTTP 401. It indicates the client Quota is Runs Out.

Last updated