resource_unavailable
Returned as conflict_error with HTTP 409.
What happened
The resource exists but isn't in a state where this operation applies — for example, permanently deleting a deck that hasn't been trashed first.
How to fix it
Check the resource's current state and perform the prerequisite transition first (e.g. trash a deck before `?permanent=true`).
The envelope
{
"error": {
"type": "conflict_error",
"code": "resource_unavailable",
"message": "…",
"request_id": "req_8f2c4a1b",
"doc_url": "https://docs.renza.io/errors/resource_unavailable"
}
}See Errors for the full contract, and note the CLI maps this to a stable exit code — see Output & exit codes.