Error Examples
Zone ID not recognised
In the example below, ads are requested for multiple zones and errors are returned for some zones. The zone ID was not found for two of them.
Request: JSON
{
"user": {
"ip": "192.0.2.1",
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0"
},
"zones": [
{
"id": 123
},
{
"id": 213
},
{
"id": 312
}
]
}Response: JSON
Zone contains unacceptable field
In this example, the request contains the unacceptable field testing.
Request: JSON
Response: JSON
Required field missing and incorrect field added
In this example, the request is missing the required field IP, and contains the unacceptable field testing.
Request: JSON
Response: JSON
Last updated
Was this helpful?

