Errors

invalid_key_name

400 – Invalid key name.

Invalid key name. Answered with 400.

What it means

An API Key carries a name so the list can be read later, and the one given is missing or too long.

What to do

Send a short label in the name field, such as the agent or host that will hold the key.

The body

{
  "type": "https://tigby.eu/problems/invalid_key_name",
  "title": "Invalid key name",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "invalid_key_name",
  "doc_url": "https://docs.tigby.eu/errors/invalid_key_name",
  "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.