Errors
idempotency_key_invalid
400: Idempotency-Key not usable.
Idempotency-Key not usable. Answered with 400.
What it means
The Idempotency-Key header is longer than 255 characters, carries a character that is not visible ASCII, or was sent more than once. The mail send and the Connector writes read it the same way.
What to do
Send one key of 1 to 255 visible ASCII characters (a fresh UUID per intended write is the usual choice) or leave the header out.
The body
{
"type": "https://tigby.eu/problems/idempotency_key_invalid",
"title": "Idempotency-Key not usable",
"status": 400,
"detail": "…what was refused, naming this request's own values",
"code": "idempotency_key_invalid",
"doc_url": "https://docs.tigby.eu/errors/idempotency_key_invalid",
"agent_hint": "…the next step, for software"
}Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.