Error codes
On an error, the API responds with "success": false, a message in error and, where available, a code.
| Status | code | Meaning |
|---|---|---|
| 400 | A required field is missing, e.g. query or user_id | |
| 402 | QUOTA_EXCEEDED | The monthly quota of your plan is used up. The shop falls back to its normal search until the reset. |
| 403 | API key invalid, or shop not active or not verified | |
| 403 | BOT_DETECTED | The request was detected as automated access |
| 403 | ORIGIN_NOT_ALLOWED | The request comes from the browser on a domain that is not allowed for this shop. Allowed are the domain of the shop URL and the domains under Allowed domains for the search widget, see Search via API. |
| 403 | RATE_LIMITED | Too many requests from this visitor |
| 403 | SYSTEM_ABUSE_DETECTION | Conspicuously many new visitors came from this IP address, it is blocked for the search. Comes with identify. Contact support if this is unjustified. |
| 503 | Maintenance, the response contains "maintenance": true |
json
{
"success": false,
"error": "Request quota exceeded",
"code": "QUOTA_EXCEEDED"
}