Skip to content

invalid_state

invalid_state: HTTP 409, request error. Resource is not in a valid state for this action.


Code invalid_state
Type request_error
HTTP status 409
Default message Resource is not in a valid state for this action.

The request or the state of the resource is the problem. Change something before you send it again.

Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.

{
"error": {
"type": "request_error",
"code": "invalid_state",
"detail": "Resource is not in a valid state for this action.",
"documentation_url": "https://docs.baiyar.com/resources/errors/invalid_state/"
},
"meta": { "request_id": "req_…" }
}

All error codes