1005: Value invalid.
A field value breaks a rule of its own.
HTTP status: 422. May also be reported as a field-level finding in error.details[].
The value at param is well-typed and within bounds but violates a rule such as a pattern, a range or a forbidden character run. Correct the value and resend.
Troubleshooting
Section titled “Troubleshooting”- Inspect error.param / details[].param and the accompanying message, which names the rule.
- For to, from, exclude and reply_to_message_id the accepted forms are documented on the send operation.