Skip to content

STATUS CODES

Status codes are used to indicate success or failure of an API call. In general, status codes starts with 2 mean success, 4 mean there was an error in the provided information, and those with 5 indicate server side errors. Commonly used HTTP status codes are listed below.

Status Code Http Status code Description
200 200 Success
4001 400 Id or Name given in Input does not exist or not in use or user cannot set the value
4002 403 Forbidden / User not allowed to perform the operation.
4004 500 Internal Error (Exact error cannot be sent to user, like some Exception)
4005 400 Reference Exists. (Cannot delete an entity, because it is being used in another module)
4007 404 Invalid URL or Resource not found.
4008 400 Not Unique
4009 400 Trying to edit non-editable field
4012 400 Value for mandatory-field is not provided
4014 400 Trying to edit read-only field
4015 429 API Rate Limit reached
4016 400 Time mismatch(Can be used for any time mismatch like Start time/End time mismatch, Created time/Responded time mismatch, etc.,)
4021 400 Data type mismatch
4022 401 Invalid API Key
7001 400 Not allowed as per current license