API error

forbidden_origin

HTTP 403 · no credit is used for a request that ends in an error.

The key is restricted to a list of browser origins and the request came from another Origin.

What to do

Call the API from an allowed origin, or update the allowed origins of the key.

Retry

No: fix the request. When and how often to retry any error: retrying safely.

The answer

{
  "error": {
    "code": "forbidden_origin",
    "message": "This API key is not allowed from this origin.",
    "request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
  }
}

Branch on code, which is stable; message is for people and may change. Keep request_id in your logs.

Headers that come with it:

  • X-Request-Id: Our ID for the request (same as request_id in bodies).

Endpoints that can answer it

More

Updated · Maintained by: Email Validation LLC

Need help? Contact support, or ask the help chat. Something wrong or missing on this page? Tell us