Rest API Error Codes
When the CT-V REST APIs call fails, it returns one of the following error response status codes mentioned in the table below. Each status code depicts its unique code, category, and reason of failure of the request. The following table explains the REST error codes.
Error Codes | Error Descriptions |
---|---|
403 Forbidden | This code indicates that either the NAE credentials or the database credentials are invalid. |
400 Bad Request | This code indicates that the server could not process the request due to invalid syntax or invalid request parameters etc. This error code is returned if invalid format is used, the table doesn’t exist etc. |
500 Internal Server Error | This is a general HTTP status code that means that something has gone wrong on the server’s end. This error code is returned if the connection has timed out, invalid IP address is mentioned in the IngrianNAE.properties file, unknown key name is used etc. |