API error

forbidden

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

The key lacks the scope this endpoint needs (for example bulk), the account is suspended or on a billing hold, or the account has EU-only processing turned on and the request went to https://api.email-validation.org. GET /v1/latency, which takes no key, answers it to a browser request made by another website: it serves our website only.

What to do

Use a key with the right scope, or check the notices in your dashboard. With EU-only processing, send requests to https://api-eu.email-validation.org. For GET /v1/latency, call it from a server or a terminal, not from another website's page.

Retry

After you fix the account. When and how often to retry any error: retrying safely.

The answer

{
  "error": {
    "code": "forbidden",
    "message": "You do not have access to this resource.",
    "request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
  }
}

Account with EU-only processing, request sent to https://api.email-validation.org:

{
  "error": {
    "code": "forbidden",
    "message": "This account validates in the EU only. Send requests to https://api-eu.email-validation.org.",
    "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