Response Format
The Tracker returns a standard HTTP code and, if needed, a body in JSON.
The definition of the response is specific for each endpoint.
Errors definition
In case of an error occurs, the body will contain a code
and a message
field. The code
field should be used to catch the error in your code while the message
is there only to help the developer with debugging (its content may change over time).
Common HTTP response codes
Please find below, the common HTTP response codes that can be returned by the Marketing Automation Tracker:
HTTP code | Type |
---|---|
204 | Successful request |
400 | Error. Bad request |
401 | Error. Authentication Needed |
403 | Error. Permission denied |
405 | Error. Method not allowed |
Updated over 3 years ago