AddEvent uses conventional HTTP response codes to indicate the success or failure of an API request. In general:
- Codes in the
2xx
range indicate success. - Codes in the
4xx
range indicate an error that failed given the information provided (e.g., a required parameter was omitted, an object was not found, etc.). - Codes in the
5xx
range indicate an error with AddEvent's servers (these are rare).
HTTP status code summary
Response code | Meaning |
---|---|
| Everything worked as expected. Covers the following cases:
|
| Everything worked as expected: object created successfully. |
| Everything worked as expected: object deleted successfully. |
| The request was unacceptable, oftern due to a missing required parameter. |
| No valid API key provided. |
| The API key doesn't have the permission to perform the request. Usually one of the following cases:
|
| The requested resource does not exist, has been deleted, or does not belong to the account which made the API request. |
| The endpoint does not support this method (verb). |
| Something went wrong on AddEvent's end. |
Errors
For most 4xx
errors, we include an error_id
and a message
that can be used to troubleshoot the error.