The Adbeat API uses standard HTTP status codes to indicate success of failure of an API request.
Here is a complete list of status codes:
Error Code | Status Name | Meaning |
---|---|---|
200 | OK | Successful request |
400 | Bad Request | Your request contained invalid path elements or parameters |
401 | Unauthorized | Your API key is not valid |
404 | Not Found | You requested information about an unknown advertiser, publisher, etc. |
429 | Too Many Requests | Your request was rate limited |
500 | Internal Server Error | An internal server error occurred |
The JSON response will always include the "statusMsg" field, with additional informative text about the response.
The contents of the statusMsg field are most useful for debugging error responses. This field should not be displayed to end-users, nor should it be considered fixed; the text may change at any time.