invalid_state_transition
Invalid state transition
- HTTP status
- 409
- Code
invalid_state_transition- Retry?
- No
What it means
The action is not allowed in the resource's current state, such as cancelling a message that has already been sent. The detail says which state it is in.
What to do
Fetch the resource again and decide from its current state.
Example
{ "type": "https://docs.messaging.500calls.com/errors/invalid_state_transition", "title": "Invalid state transition", "status": 409, "code": "invalid_state_transition", "detail": "The message is sent and can no longer be cancelled.", "request_id": "req_01M3KR6CQ26S90NG2V790GVFTX", "errors": []}