Status does not allow this
HTTP 409invalid_status_transition
When the API answers 409 invalid_status_transition, and how to fix it.
Version v1.1, updated
The type field of every invalid_status_transition response links to this page.
On this page
The status of the order does not allow this action or change. current_status gives its status, and allowed_from the statuses that allow the action.
At a glance
Status: 409 Conflict
Code:
invalid_status_transitionRetry: No. Fix the cause first: the same request gets the same answer.
Causes and fixes
409 invalid_status_transitionJSON
{
"allowed_from": [
"draft"
],
"code": "invalid_status_transition",
"current_status": "confirmed",
"detail": "The current status of the record does not allow this action or change.",
"instance": "/v1/orders/00000000-0000-4000-8000-000000000051",
"request_id": "a1b2c3d4-0000-4000-8000-0000000000ee",
"status": 409,
"title": "Status does not allow this",
"type": "https://birp.io/developers/errors/invalid_status_transition"
}Related
- receive-orders
- orders
- errors-overview