| Code | Meaning | Recommended action |
|---|---|---|
|
Bad request/invalid productId |
Check productId; show user a plan picker. |
|
Token expired or invalid |
Re-authenticate; preserve provisioning state so the user does not need to restart. |
|
Permission denied |
Check account role; escalate if unexpected. |
|
SIM or account not found |
Prompt user to check ICCID or escalate to support. |
|
Server error |
Retry with exponential backoff; surface friendly status to the user. |
SIM ownership conflicts: If POST /assets returns a conflict, the SIM is already claimed in another account.
Do not attempt to reassign silently.
Show a clear message and provide a support escalation path.
|