add
New Scan
fact_check
Ad Specs
inbox
My Inbox
group
1
My Team
auto_stories
API Docs
settings
Settings
notifications_active
Alerts
login
Log In

API Error Handling

Ad Quality Control APIs

See if your ads comply with your ad specification. Fully customizable and automated.


Error Handling

Conventional HTTP response codes are used to indicate if a request failed or was successful. Codes in the 2xx range indicate success. Codes in the 4xx range indicate that the request failed. In that case, the JSON response will hold an error code and human-readable error message.
authentication_error
string, solvable
The X-ApiKey header was not added or the key was incorrect. Contact support if you need help.
invalid_endpoint
string, solvable
An incorrect endpoint URL was used. Check for typos and make sure to use the endpoints from this documentation.
payload_error
string, solvable
The payload contained missing parameters or had an incorrect format. See the error message for details.
quota_error
string, solvable
Your monthly quota limit has been reached. Get in touch if you need a higher quota.
processing_error
string, not solvable
The worker nodes weren't able to process your request. Please contact support to see if the issue can be fixed.
Example of an error
{
    "error_type": "payload_error",
    "message": "There was an error."
}