request.invalid_state_transition — Action not allowed in the current state
HTTP status: 409
Retryable: no — change the request or the flow first
When it happens
The action does not apply to the resource's current status (for example issuing a booking that is already cancelled). context.currentStatus and context.allowedActions describe what is possible now.
What to do
Fetch the resource and follow its nextActions.
Example response
{
"type": "https://quickota.com/developers/errors/request.invalid_state_transition",
"title": "Action not allowed in the current state",
"status": 409,
"code": "request.invalid_state_transition",
"detail": "The action does not apply to the resource\u0027s current status (for example issuing a booking that is already cancelled). \u0060context.currentStatus\u0060 and \u0060context.allowedActions\u0060 describe what is possible now.",
"suggestion": "Fetch the resource and follow its \u0060nextActions\u0060.",
"retryable": false,
"requestId": "req_7f3a2c9e41d0b8a6c5e21f90"
}
See Errors for how to handle errors in general.