Eligibility API - Error
| No. | Error Code | Description |
|---|---|---|
| 1 | 400 | [400 Bad Request] The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications. This indicates that the required headers were missing or the request was not formed correctly. |
| 2 | 401 | [401 Unauthorized] This indicates that the Authentication header was missing or incorrect. |
| 3 | 403 | [403 Forbidden] The server understood the request, but is refusing to fulfill it. This indicates that you do not have permissions to access the requested resource/action. |
| 4 | 404 | [404 Not Found] The server has not found anything matching the Request-URI. This indicates that the requested resource was not found. |
| 5 | 422 | [422 Unprocessable Entity] This indicates that the data sent in API request is invalid or malformed. This will additionally return error description in following format: {error_field1: [array of error messages related to this attribute/parameter], error_field2: [array of error messages], … and so on} Any error message not pertaining to a specific parameter or attribute will be returned under the key “base”. Example: {“first_name”: [“must be present”, “must not contain any numbers”], “birthdate”: [“must be a past date”], “base”: [“This patient was already saved earlier in our database”} |
| 6 | 500 | [500 Internal Server Error] The server encountered an unexpected condition which prevented it from fulfilling the request. This indicates something failed during processing your request and is not likely related to the data in the API request. |