Errors

invalid_state

The requested operation is not valid for the resource's current state.

invalid_state means the resource exists, but its lifecycle state does not allow the requested action.

Recovery guidance

Read the resource again and choose the next valid operation for that state. Do not force state transitions client-side; use retry, cancel, recreate, or poll flows exposed by the API.