# SHIPM_CANCEL_ERR: Shipment cancellation at the carrier failed

- Module: SHIPM. Shipment tracking sync + carrier integrations
- Severity: Error
- Impact: Operators. Organisation staff should take a look. Customers are not affected.
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/SHIPM_CANCEL_ERR

## What happened

The adapter could not cancel a shipment at the carrier (shipment already handed over, past the cancel window, or carrier API outage). The local shipment state was NOT flipped to `cancelled`; the operator must retry or mark the shipment manually.

## Likely causes

- The parcel was already handed over to the carrier or is past the cancellation window.
- The carrier API rejected the request or was unavailable.
- The carrier credentials are invalid or expired.

## How to resolve

1. Open the shipment under Shipping and retry the cancellation.
2. Check the parcel status in the carrier's portal.
3. Cancel the parcel directly in the carrier's portal if needed, then update the shipment manually.

## Related codes

- SHIPM_CREATE_ERR: Shipment creation at the carrier failed
- SHIPM_SYNC_ERR: Shipment tracking sync failed for one shipment
- SHIPM_LABEL_ERR: Shipment label fetch failed
- SHIPM_LIFECYCLE: Shipment follow-up processing failed
- SHIPM_NOTIFY_ERR: Shipment e-mail to the customer failed
- SHIPM_ATTENTION: Shipments need attention
