Error codes
The following table lists the error codes thrown by OIP Risk Management SDK.
The application needs to process these error codes and handle the actions to be taken in erroneous conditions.
List of Error Codes Returned by OIP Risk Management SDK
| Error Code | Description |
|---|---|
| 400 | Bad request sent to Risk Engine backend. This may happen if some mandatory signals are not part of the request to Risk Engine backend. |
| 403 | Connection to the server is forbidden. |
| 100 | Unexpected error while connecting to Risk Engine backend. |
| 102 | Network related permissions are not granted from application (Android only) |
| 1001 | Invalid JSON response received from Risk Engine backend. |
| 1002 | SSL handshake error while connecting to Risk Engine backend. |
| 1003 | Wrong HTTP method used while making connection to Risk Engine backend. |
| 1004 | HTTP protocol error while making connection to Risk Engine backend. |
| 1005 | Invalid URL connection is made. |
| 1006 | IO error while connecting to Risk Engine backend. |
| 1008 | Unsupported HTTP connection scheme is used. |
| 1009 | Request string is null while attempting for URL connection. |
| 10011 | Invalid data type during signal collection in OIP Risk Management. |
| 10013 | TLS connection failed while making connection to Risk Engine backend. |
| 10014 | No valid SSL certificates are passed from application. |
| 2101 | Prefetching of signals is partially done. |
| 2102 | Prefetching of signals failed. |