Skip to content

API errors

Errors come back as JSON:

{
"error": {
"type": "…",
"code": "origin_not_allowed",
"message": "This website is not in the allowed websites for this key.",
"requestId": "…"
}
}

Every response also has an X-Request-Id header. Quote the requestId when you contact support. fields lists the invalid fields on a validation_failed error.

Error What to do
401 unauthorized Send a valid key. A wrong or revoked key from a browser also reads as 401.
403 insufficient_permission The key’s permission does not cover this action. Use a key with more access. See API keys.
403 origin_not_allowed The website is not on the allowed list. See Allowed websites.
403 tool_not_enabled The tool is not switched on for this project.
409 key_not_active The key was revoked. Create a new one.
409 key_limit_reached The environment has the maximum of 25 active secret keys. Revoke one you no longer use.
Error What to do
400 validation_failed A field is missing or invalid. fields names it.
400 captcha_failed The spam check failed. Reload the page and try again.
403 form_not_active The form is paused. Switch it on in the dashboard.
403 submission_limit_reached A limit was reached, so the submission was refused.
Error What to do
402 insufficient_credits A Live action costs more than your balance.
409 sending_paused Email sending is paused for this project because of high bounce or complaint rates. Contact support.
409 template_not_published Publish the template first.
409 domain_taken Another account already verified this domain.
429 daily_send_limit_reached Wait for the Retry-After time.
Error What to do
413 payload_too_large Bodies are limited to 1 MB.
422 idempotency_mismatch You reused an Idempotency-Key with a different request.
409 idempotency_in_progress The same key is still being processed. Retry shortly.
429 rate_limited Too many requests. Wait for the Retry-After time.
503 service_unavailable Temporary. Retry later.