Errors
enabled_required
400 – No state. The request says neither on nor off, and the AI-disclosure setting is one or the other.
No state. Answered with 400.
What it means
The request says neither on nor off, and the AI-disclosure setting is one or the other.
What to do
Send enabled: true, or enabled: false with acknowledge_warning: true.
The body
{
"type": "https://tigby.eu/problems/enabled_required",
"title": "No state",
"status": 400,
"detail": "…what was refused, naming this request's own values",
"code": "enabled_required",
"doc_url": "https://docs.tigby.eu/errors/enabled_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.