Skip to content

email_domain_invalid

HTTP 400 · Sender domains (SPEC §9.1)

That isn’t a domain you can send from. Use a domain or subdomain you control, such as example.com or mail.example.com.

Does retrying help?

Not as it is. Change the request as the message says, then send it again.

The response

Every Flatstack error has this shape. details, when present, says more about this case.

{
  "error": {
    "code": "email_domain_invalid",
    "message": "That isn't a domain you can send from. Use a domain or subdomain you control, such as example.com or mail.example.com.",
    "docsUrl": "https://flatstack.dev/docs/errors/email_domain_invalid"
  }
}

All error codes

As Markdown: errors/email_domain_invalid.md