E05012 — SendingDomainInvalid
The domain name is not valid: it must be a registrable domain (not a public suffix or single-label name), and must not have a trailing dot.
- HTTP status:
422 - Type:
validation_error - Name:
SendingDomainInvalid
What to do
The request body parsed, but one or more values are invalid. Read the details array: each entry names the failing field (param, a dotted path like to[0].email) with a human-readable reason. Fix the named fields and retry.
Related
- E05xxx — Domains & DNS: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on
typeandcode, validation details, andvendor_code
Related resources
Continue with the documentation, guides and examples for this topic.