Checks marked SINGLE SIM REQUEST run immediately only when the request has one SIM. For requests with more than one SIM, these checks run during processing instead, and each SIM that fails gets a failure callback with a different error code and message. See the mapping on Deactivate - Async Error Messages.
Deactivate - Sync Error Messages
These errors are returned immediately in the HTTP response to POST /subscriber-management/actions/deactivate. When a request is rejected with one of these errors, no SIM in the request is processed.
Error responses use this format. Each validation problem is returned as its own entry in errors, so a request with several invalid SIMs lists all of them.
Note
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Value: : AccountNumber must not be empty. | The macnum header is missing or empty. | Send the 8-digit account number in the macnum header. |
400 | REQUEST_FAILED.BadRequest | Value: {macnum}: AccountNumber should be an 8-digit numeric value. | The macnum header is not exactly 8 digits. | Send a valid 8-digit numeric account number, for example 04233388. |
400 | REQUEST_FAILED.BadRequest | Sims: No SIMs provided. | The sims list is empty. | Provide at least one SIM in sims. |
400 | REQUEST_FAILED.BadRequest | Sims.Count: Request limit exceeded. Only 1 SIM allowed. | More than one SIM is submitted and bulk requests are not enabled for the account. | Submit one SIM per request, or contact your Account Manager to enable bulk requests. |
400 | REQUEST_FAILED.BadRequest | Sims.Count: Request limit exceeded. Maximum 1000 SIMs allowed. | More than 1000 SIMs are submitted in one request. | Split the SIMs into requests of 1000 or fewer. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}]: Either an ICCID or an EID is required for each SIM. | A SIM in the list has neither iccid nor eid. {n} is the zero-based position of the SIM. | Provide an ICCID or an EID for every SIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Iccid: ICCID should be numeric string {19-20 length}. As an exception, 'F' can appear as 20th character. | An iccid does not meet the length and format rules. | Enter a 19- or 20-digit ICCID, for example 77777777777777777777. |
400 | REQUEST_FAILED.BadRequest | Sims: Duplicate ICCID detected. Please provide a unique ICCID for each Connection. | The same ICCID appears more than once in the request. | Remove the duplicate ICCIDs. |
400 | REQUEST_FAILED.BadRequest | Invalid input. Connection {ICCID} not found. | SINGLE SIM REQUEST — the ICCID does not exist in the system. | Enter an ICCID that exists in the system and submit a new request. |
400 | REQUEST_FAILED.BadRequest | Operation not allowed. Connection '{ICCID}' is deactivated. | SINGLE SIM REQUEST — the SIM is deactivated. | No action needed. The SIM is already deactivated. |
400 | REQUEST_FAILED.BadRequest | Request body could not be decoded. Send the body UTF-8 encoded (Content-Type: application/json; charset=utf-8). | The request body is not UTF-8 encoded. | Send the body UTF-8 encoded. |
400 | (none) | One or more validation errors occurred. | The request body is empty or is not valid JSON. The response is a standard problem-details body that names the field in error. | Send a valid JSON request body. |
401 | Unauthorized | Unauthorized access. Please provide a valid token. | The bearer token is missing, invalid or expired. | Provide a valid access token as a Bearer token in the Authorization header. |
401 | (none) | Unauthorized (returned as a standard problem-details body) | The account in the macnum header is not one your token has access to. | Use an account number your token is authorized for. |
403 | (no error body) | (empty response) | Your token does not have a role that is allowed to deactivate SIMs. | Contact your administrator for access. |
403 | REQUEST_FAILED.Forbidden | You do not have access to macnum : {account number} to perform this operation. | SINGLE SIM REQUEST — the SIM belongs to an account your token has no access to. | Submit SIMs that belong to your accounts. |
403 | REQUEST_FAILED.Forbidden | Provided macnum: {SIM account number} does not belong to {macnum header}. | SINGLE SIM REQUEST — the SIM belongs to an account outside the account in the macnum header. | Send the parent or grandparent account of the SIM in the macnum header. |
429 | (no error body) | (empty response) | Too many requests were sent in a short period. | Wait briefly and retry. |
500 | REQUEST_FAILED.InternalServerError | Failed to create transaction. Please try again. | The system could not create a transaction for the request. | Retry the request. If it persists, contact the support team. |
500 | REQUEST_FAILED.InternalServerError | Internal Server Error. An unexpected error has occurred. Please try again. If the problem persists, contact Mobility Dashboard Support. | The request could not be queued for processing. | Retry the request. If it persists, contact the support team. |
500 | REQUEST_FAILED.InternalServerError | Unexpected error occurred. Could not complete request. | An unexpected error occurred, for example when sims is missing from the body. | Check the request body and retry. If it persists, 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 did not respond in time. | Retry the request. If it persists, contact the support team. |
Last updated on