Skip to content
PreviewNot live yet. APIs and SDKs on these pages may change before launch.

Errors

{ "error": "invalid_request", "message": "to must contain between 1 and 50 addresses" }

Match on error; message may change.

Status error Cause Action
400 invalid_request A field is missing or invalid; message names it Fix the request
401 credential_invalid Missing, malformed or unknown key Check the key
401 credential_expired Key expired Create a new key
401 credential_revoked Key revoked Create a new key
401 service_account_disabled The key’s service account is disabled Enable it or use another key
403 scope_required Key lacks the scope; requiredScope names it Add the scope
403 ip_not_allowed Address not on the key’s allowlist Add the address
403 domain_not_allowed from domain not verified, or the key is for another domain Fix from or the key
403 pro_subscription_required Workspace isn’t on Pro Upgrade
404 not_found No such resource in this workspace Check the id
409 idempotency_key_reused Same Idempotency-Key, different body, within 24 h Use a new key
409 domain_claimed Another workspace verified this domain Prove ownership with the TXT record
422 recipient_suppressed Every recipient is suppressed Remove them or the suppressions
422 monthly_limit_reached 10,000 emails sent this month Wait for the next month
429 rate_limited Over 600 requests a minute Retry after Retry-After
503 rate_limiter_unavailable Limiter unreachable; refused, not allowed Retry with backoff
503 service_unavailable A dependency is down Retry with backoff
500 internal_error Unexpected error Contact us with the time and endpoint

Retry only 429 and 5xx, with an Idempotency-Key. The Node SDK does this for you (3 tries: 1 s, 2 s, 4 s, or Retry-After) and throws MailPidgeApiError.

Push codes: Push delivery outcomes.