Skip to content

HTTP 502

email_send_failed

What to do: The code email could not be sent; request a new code in a moment.

POST /v1/auth/request-code tried to email the code and the mail provider call failed (after one retry). Usually transient. If it persists on a self-hosted instance, check RESEND_API_KEY and that MAIL_FROM uses a verified sending domain.

Shape

{ "error": { "code": "email_send_failed", "message": "…", "hint": "The code email could not be sent; request a new code in a moment.", "docs": "https://postbag.dev/docs/errors/email_send_failed/" } }

All codes are listed on the error reference. Conventions for the envelope, hints and next[] are in the API overview.