Error codes
Errors can occur when interacting with the Reach platform. In any case, the ouput of your request would contain the appropriate errorCode
and errorMessage
that best describe the encountered issue, if any.
The error codes defined by Reach Authentix API are summarized in the table below:
Error code | Error description |
---|---|
400 | Bad Request |
403 | Request Forbidden |
404 | Resource Not Found |
429 | Too Many Requests |
503 | Internal Error |
10002 | Missing Request Data |
10003 | Accept Media Type Error - Requests should have 'Accept' Header set to 'application/json' |
20002 | Authentication Error - Missing Request Authentication Headers |
20003 | Authentication Error - Bad Credentials |
20004 | Authentication Error - Multiple Users Associated to Credentials |
20005 | Authentication Error - The requested applet is deactivated and can't be modified |
20006 | Invalid page size. It cannot be zero or negative. |
20007 | Invalid page number. It cannot be zero or negative. |
20208 | Too many requests. |
20209 | Timeout exceeded. |
20210 | Internal server error. |
40000 | Entity ID Generation Issue |
40001 | Operation is not available with API Test Key |
40002 | Name is empty |
40003 | Invalid code length |
40004 | Invalid expiry time |
40005 | Invalid max trials |
40006 | Name already exists for the undelying entity type. |
40007 | Unknown SMS message template ID |
40008 | Unknown message template ID |
40009 | Unknown SMTP Setting ID |
40010 | Unknown Configuration ID |
40011 | No Effective update occurred due to empty or similar parameter set. |
40012 | Invalid max controls. |
40013 | Unknown Authentication ID |
40014 | Unknown Authentication Trial ID |
40015 | Unknown Authentication Trial Stats |
40016 | No Authentication found |
40101 | dest and channel parameters are required |
40102 | Invalid authentication channel |
40103 | Invalid destination for the provided channel. Phone numbers must be in E.164 format |
40104 | A template data map must represent a valid Stringfied JSON Map. |
40105 | Custom code should only contain numeric characters |
40106 | Custom codes are not allowed by the configuration |
40107 | Payment info is required |
40108 | Invalid payment info |
40109 | Configuration with no SMTP Setting defined for sending Email based authentications |
40110 | Unknown message template ID or invalid messasge template for the specified channel |
40111 | Mismatch between message template and Payment info |
40112 | Custom variable definition missing |
40113 | Invalid sender Email |
40114 | An authentication already exist for the specified destination with a different channel |
40115 | Mismatch between existing authentication and current trial on the Payment info data |
40116 | Issue with SMS delivery |
40117 | Issue with Email delivery |
40118 | Only Applet Owner email address is allowed at test time |
40119 | Invalid authentication status |
40120 | Invalid update authentication status |
40121 | Invalid destination. Either Phone or email. Phone numbers must be in E.164 format |
40122 | Invalid Authentication Trial Status |
40123 | Either the Authentication ID or the destination is required |
40124 | Code is required |
40125 | Mismatch on digital payment data when controling an authentication |
40126 | Insufficient funds |
40127 | Authentication control issue |