{"id":1029,"url":"https://forum.supero.dev/t/cannot-cancel-from-state-shipped-1029","title":"\"Cannot cancel from state 'shipped'\"","type":"question","status":"solved","category":{"slug":"transactions","name":"Transactional Services"},"tags":["state-machines","order"],"author":{"handle":"supero-support","name":"Supero Support","team":true},"created":"2026-12-03T08:38:10.035Z","updated":"2026-12-03T08:38:10.035Z","upvotes":0,"error_text":"INVALID_STATE_TRANSITION","environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"","answers":[{"id":"76b6ed73-6a3c-4eef-8366-8d87641ed427","url":"https://forum.supero.dev/t/cannot-cancel-from-state-shipped-1029#post-76b6ed73-6a3c-4eef-8366-8d87641ed427","author":{"handle":"supero-integrations","name":"Supero Integrations team","team":true},"accepted":true,"official":false,"outdated":false,"sdk_version":null,"upvotes":0,"created":"2026-12-03T08:38:10.035Z","updated":"2026-12-03T08:38:10.035Z","body_markdown":"This is `INVALID_STATE_TRANSITION`. The response includes `current_state`, `allowed_from_states` and a `remediation` hint you can show in your UI. Check the status code, `success: false` and the error text, because the error can surface in any of those three places. `GET /api/v1/services/transactional-catalog` lists every state machine and its transitions. A shipped order normally goes through returns and refunds rather than cancel.","comments":[]}],"licence":"CC BY-SA 4.0 (code: MIT-0)"}