Firsty

Search...

Search...

API errors

invalid_state_transition

The resource's current state does not allow this operation.

409application/problem+json

What it means

For example: terminating a terminated subscription, cancelling a port-in that has settled, or activating an eSIM that does not wait for an activation request. detail names the state when it helps.

409 · application/problem+json
{
  "type": "https://developers.firsty.app/errors/invalid_state_transition",
  "title": "Conflict",
  "status": 409,
  "detail": "The resource's state does not allow this operation",
  "code": "invalid_state_transition"
}

How to handle it

  1. Read the resource's current state and request only operations valid from it.

  2. Do not retry unchanged; the answer is the same until the state changes.