Errors

invalid_handled_code

400: Not a handling code.

Not a handling code. Answered with 400.

What it means

A Staff Console mark on a declaration of withdrawal named something that is not one of its codes: carried_out (the withdrawal was effective and was carried out), period_expired (the withdrawal period had ended before the declaration), not_a_consumer (the order was placed as a business), no_contract_found (no contract could be identified, also after asking) or duplicate (it repeats a declaration handled under its own row). The mark is kept on a row that outlives the Org and is written into the Org's export, so it takes no words of its own.

What to do

Send code as one of carried_out, period_expired, not_a_consumer, no_contract_found or duplicate. Nothing was marked.

The body

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