Errors
spend_beyond_limits_required
400: No setting in the body.
No setting in the body. Answered with 400.
What it means
PATCH /api/credit changes one setting and the body said neither true nor false for it. Reading a missing value as false would switch spending off for an Org that never asked, so it is refused instead.
What to do
Send {"spend_beyond_limits": true} to allow spending beyond the Plan's allowances, or false to stop it.
The body
{
"type": "https://tigby.eu/problems/spend_beyond_limits_required",
"title": "No setting in the body",
"status": 400,
"detail": "…what was refused, naming this request's own values",
"code": "spend_beyond_limits_required",
"doc_url": "https://docs.tigby.eu/errors/spend_beyond_limits_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.