Response Codes | Climes API
Code | Description |
---|---|
200 | OK : Your request was successful |
201 | Created : Your request successfully created a resource |
202 | Accepted : Your request is accepted for further processing |
400 | Bad Request : The request parameters or body are invalid |
403 | Unauthorized: The API key you provided is invalid or disabled |
404 | Not found: the requested resource was not found |
429 | Too many requests. You are being rate limited |
500 | The request could not be processed due to an error on Climes servers |
When there is an error processing a request, the Climes API will return an error object. All errors will have following schema :
Field | Type | Description |
---|---|---|
message | String | A human readable string describing the error. The exact copy of these messages are based on the error itself |
caution
The error message is for your information, not the end users.
Please use the status codes and communicate the error to user accordingly
The API returns the first validation error that is encountered even if there are multiple errors with the request