Errors

contact_message_required

400 – Message missing or too long. The contact form takes a message, and it has a length ceiling.

Message missing or too long. Answered with 400.

What it means

The contact form takes a message, and it has a length ceiling. Either none arrived, or it was longer than the ceiling; the shipped detail says which and by how much. The name field has its own, shorter ceiling and answers with the same code.

What to do

Send a message within the length the detail names, and a name within its own, or no name at all.

The body

{
  "type": "https://tigby.eu/problems/contact_message_required",
  "title": "Message missing or too long",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "contact_message_required",
  "doc_url": "https://docs.tigby.eu/errors/contact_message_required",
  "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.