6 Error and Response Codes
Response or error codes are generated after the JSON is posted.
Based on whether the request is successful or not, the applicable code is generated. As a part of the feedback process, any error which occurred in the prospect onboarding flow (authentication errors and database errors) are captured and reported. In case of any errors, the onboarding JSON must be resent after making corrections.
The following table has information on the response codes used.
Table 6-1 Response Codes
| Response Status Codes | Status Description | Sample Response |
|---|---|---|
| 200 | The JSON is successfully posted. | { "RequestID": 1001, "applicationId": "CIF200050799"
} |
| 401 | The request is unauthorized (token is invalid). | Authentication required |
| 400 |
|
|
| 400 | There is no jurisdiction matched to a pipeline. |
|
| 500 | Server error | The server encountered an unexpected condition that prevented it from fulfilling the request. |