Cancel Order - Sync Error Messages
| Status Code | ErrorCode | Error Message | Occurs When |
|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | TransactionId: TransactionId is required and must be valid. | transactionID is missing, longer than 36 characters or not a valid GUID. |
400 | REQUEST_FAILED.BadRequest | Sims: No SIMs provided. | sims[] is missing or empty. |
400 | REQUEST_FAILED.BadRequest | Sims.Count: Request limit exceeded. Only 1 SIM allowed. | More than one SIM is submitted. |
400 | REQUEST_FAILED.BadRequest | Sims[0].Iccid: 'Iccid' must not be empty. | iccid is missing or empty. |
400 | REQUEST_FAILED.BadRequest | Sims[0].Iccid: ICCID should be numeric string {19-20 length}. As an exception, 'F' can appear as 20th character. | iccid has the wrong format. |
400 | REQUEST_FAILED.BadRequest | Invalid input. Connection {iccid} not found. | The ICCID does not exist in Mobility. |
400 | REQUEST_FAILED.BadRequest | Operation not allowed. Connection '{iccid}' is deactivated. | The SIM is deactivated. |
400 | REQUEST_FAILED.BadRequest | Cancel Order is only supported for Granite SIM360 SIMs. | The ICCID does not belong to a SIM360 SIM. |
401 | Unauthorized | Unauthorized access. Please provide a valid token. | The bearer token is missing, invalid or expired. This body uses PascalCase keys (Result, Errors, ErrorCode, ErrorMessage). |
401 | (none) | Unauthorized (returned as a standard problem-details body) | The account in the macnum header is not one your token has access to. |
403 | (no error body) | (empty response) | Your token does not have a role that is allowed to call this endpoint. |
403 | REQUEST_FAILED.Forbidden | Feature CancelOrder is not enabled for {user email}. | The CancelOrder feature is not enabled for your user. |
403 | REQUEST_FAILED.Forbidden | You do not have access to macnum : {macnum} to perform this operation. | You do not have access to the account that owns the SIM. |
403 | REQUEST_FAILED.Forbidden | Provided macnum: {SIM account} does not belong to {header macnum}. | The SIM's account is not under the macnum sent in the header. |
404 | REQUEST_FAILED.NotFound | No pending Enable Profile order found for the provided TransactionId and ICCID. | No pending Enable Profile request matches the transactionID and ICCID, for example because it has already completed or the values do not match. |
404 | REQUEST_FAILED.NotFound | Order not found at Thales. (or the eSIM platform's own message) | The eSIM platform does not recognise the order. |
409 | REQUEST_FAILED.UnprocessableEntity | Order cannot be cancelled — it is no longer in a cancellable state at Thales. | The order has already completed, failed or been cancelled on the eSIM platform, or the platform's order status check answered with an error. Only orders that are still created or in progress can be cancelled. |
429 | (no error body) | (empty response) | Too many requests were sent in a short period. Limits are set per caller and endpoint. Requests over the limit can wait in a short queue before they are rejected. |
500 | REQUEST_FAILED.InternalServerError | Thales CANCEL_ORDER request failed. (or the eSIM platform's own message) | The eSIM platform rejected or failed the cancellation with any error other than not found (including a 400, 429 or 5xx from the platform). Retry, or contact the support team. |
500 | REQUEST_FAILED.InternalServerError | Failed to create transaction. Please try again. | The system could not create a transaction for the request. Retry, or contact the support team. |
500 | REQUEST_FAILED.InternalServerError | Unexpected error occurred. Could not complete request. | An unhandled error occurred on the service side, for example an error response from the eSIM platform that is not valid JSON. Retry, or contact the support team. |
503 | (none) | A maintenance message, returned with maintenanceMode and duration. | The system is under scheduled maintenance. Retry after the maintenance window. |
504 | REQUEST_FAILED.InternalServerError | Timeout occurred: the server did not respond in time. | A dependent service (SIM lookup, pending order lookup or the eSIM platform's cancel call) did not respond in time. Retry the request. |
Last updated on