Docs
API basics

Errors

What went wrong and how to fix it.

Errors are JSON with an HTTP status, a machine-readable name and a human message:

{ "statusCode": 422, "name": "validation_error", "message": "Missing `to` field" }
StatusNameMeaning
400invalid_jsonThe body isn't valid JSON
401missing_api_keyNo Authorization: Bearer pw_… header
401restricted_api_keyA sending-only key called a non-sending endpoint
402payment_requiredThe last payment failed; update your card
403invalid_api_keyThe key doesn't exist or was revoked
403validation_errore.g. the from domain isn't verified
403plan_limitYour plan's domain/webhook limit is reached
404not_foundThe resource doesn't exist on your team
409validation_errorDuplicate (e.g. domain already added)
422validation_errorA field is missing or invalid
429rate_limit_exceededToo many requests per second
429daily_quota_exceeded / monthly_quota_exceededPlan limit reached
500application_errorSomething went wrong on our side; retry
Was this page helpful?Send feedback