HTTP Status Codes
BetterMail returns standard HTTP response codes.
Code |
Name |
Explanation |
---|---|---|
200 |
OK |
The request was accepted. |
201 |
Created |
Resource was created. |
202 |
Accepted |
The request was accepted and further actions are taken in the background. |
204 |
No Content |
The request was accepted and there is nothing to return. |
400 |
Bad Request |
There was an error when processing your request. Please adjust your request based on the endpoint requirements and try again. |
401 |
Unauthorized |
The provided API token is invalid. |
403 |
Forbidden |
The action is denied for that account or a particular API token. |
404 |
Not Found |
The requested resource does not exist on the system. |
405 |
Method Not Allowed |
HTTP method is not supported by the requested endpoint. |
408 |
Request Timeout |
There is an error on our system. Please contact support |
422 |
Unprocessable Entity |
There was a validation error found when processing the request. Please adjust it based on the endpoint requirements and try again. |
429 |
Too Many Requests |
There were too many requests made to the API. |
500 |
Internal Server Error |
There was an error on our system. Please contact support |
502 |
Bad Gateway |
There was an error on our system. Please contact support |
503 |
Service Unavailable |
There was an error on our system. Please contact support |
504 |
Gateway Timeout |
There was an error on our system. Please contact support |
More info on HTTP response codes can be found on Mozilla Developer Network.