Website →

Errors and limits

Every error code the validation API returns, how quota differs from rate limits, and how to retry.

Error codes

StatusWhenWhat to do
400Invalid JSON body or missing emailFix the request payload
401Missing or unknown API keyCheck the X-API-Key header and authentication
402Account has no active subscriptionChoose a plan on the pricing page
403Key inactive or not ownedCreate a new key in the dashboard
429Per-second rate limit exceededWait one second, retry the same request

Error bodies (POST /check/):

{ "error": "Invalid or inactive API Key" }
{ "error": "Valid API key or session token required." }
{
  "success": false,
  "error": "subscription_required",
  "message": "Choose a plan to activate your API key."
}
{
  "error": "Request was throttled. Expected available in 1 second.",
  "details": {}
}

A 400 (bad payload) returns the same { "error", "details" } shape, e.g. for an invalid address: { "error": "Validation Error", "details": { "email": ["Enter a valid email address."] } }.

Rate limit vs quota (don't confuse them)

  • Per-second rate limit — plan-tier bound (Starter 10/second, Pro 50/second). Exceeding it returns 429 Too Many Requests; slow down and retry after a second. On persistent bursts, queue requests client-side.
  • Monthly quota — exceeding your plan's monthly check limit never returns an error. Checks keep returning normal 200 allow responses with the header X-ShildMatrix-Quota: exceeded, so your signups keep flowing. The dashboard flags it and we'll reach out about the right plan.

Your current limits: GET /usage/.

Rule of thumb: fail open

Validation is upstream of a signup, so treat any non-200 response or timeout as "proceed or challenge, never block". Sample code: handle decisions guide.