Skip to main content

invalid_from_address

The from value could not be read as a mailbox address. Nothing was sent and nothing was charged.

Status: 422

{
"status": 422,
"type": "invalid_from_address",
"message": "The 'from' address is not a valid mailbox on a domain you own",
"request_id": "req_01J8K2P...",
"doc_url": "https://docs.epostix.com/errors/invalid_from_address"
}

Why you got this

  • The value has no domain part, such as billing instead of [email protected].
  • The angle-bracket form is unbalanced: a missing <, a missing >, or trailing text after the closing bracket.
  • The field carries more than one address. from holds exactly one.
  • The value is empty or only whitespace.

How to fix it

Send one of the two accepted shapes. A bare address, [email protected], or a display name followed by the address in angle brackets, Billing <[email protected]>. Build the string from a real address value rather than concatenating user input, so a name containing a bracket cannot break the parse.

A mailbox that parses can still be refused for a different reason. An unverified sending domain returns domain_not_verified, and a key restricted to other domains returns domain_scope_restricted. See domain verification for what a domain needs before it can send.

Is it safe to retry

No. The same value fails the same way. Correct from and send a new request.

Reusing the Idempotency-Key from the rejected request is safe, because a request rejected this early was never stored.