Unlike most APIs, the primary SIM and plan checks in Primary SIM and Plan Checks always run immediately, because this API accepts exactly one SIM per request. A request that passes all of the checks on this page is accepted, and any later failure is sent in a callback. See Secondary SIM Activation - Async Error Messages.
Secondary SIM Activation - Sync Error Messages
These errors are returned immediately in the HTTP response to POST /subscriber-management/actions/activate-secondary-sim. When a request is rejected with one of these errors, no secondary SIM is activated.
Error responses use this format. Each validation problem is returned as its own entry in errors, so a request with several invalid fields lists all of them.
Note
Request Validation
| 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: Sims is required. | The sims list is missing or empty. | Send one entry in sims. |
400 | REQUEST_FAILED.BadRequest | Sims: Include exactly one item in sims. Bulk Secondary SIM Activation is not supported on this endpoint. | More than one entry is sent in sims. | Send one request for each primary 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. | The primary SIM iccid is missing or does not meet the length and format rules. | Send the 19 or 20 digit ICCID of the primary SIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims: Secondary Sims is required. | The secondarySims list is missing or empty. | Send one entry in secondarySims. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims: Include exactly one item in secondarySims. | More than one entry is sent in secondarySims. | Activate one secondary SIM per request. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].Imei: IMEI is required. | The secondary SIM has no imei. | Send the device's second IMEI (IMEI2). |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].Imei: Please enter a valid IMEI 15 characters long. | The secondary SIM imei is not exactly 15 digits. | Send a 15-digit IMEI. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].Carrier: Carrier is required. | The secondary SIM has no carrier. | Send ATT, T-Mobile or Granite Wireless - VzW. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].Carrier: Secondary SIM Activation is not supported for {carrier}. It is only available against ATT, Granite Wireless - VzW & T-Mobile. | The secondary SIM carrier is not ATT, T-Mobile or Granite Wireless - VzW. | Use one of the supported carriers. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].SimType: Sim Type is required. | The secondary SIM has no simType. | Send simType = eSIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].SimType: Physical SIM activation is not supported for secondary SIMs. Only eSIM activation is supported. | The secondary SIM is not simType = eSIM. Physical SIMs are not supported. | Send simType = eSIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].DeviceType: Device Type is required. | The secondary SIM has no deviceType. | Send iPhone or Smartphone/Android. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].DeviceType: Secondary SIM activation is supported only for iPhone and Android smartphone devices. The provided device type is not supported. | The deviceType is not iPhone or Smartphone/Android. A basic phone does not support eSIM. | Send iPhone or Smartphone/Android. |
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. |
Primary SIM and Plan Checks
These checks run after the request format is accepted. They use the current state of the primary SIM, so a request that was valid yesterday can fail today.
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Invalid input. Connection {ICCID} not found. | The primary SIM ICCID does not exist in the system. | Enter the ICCID of an existing SIM and submit a new request. |
400 | REQUEST_FAILED.BadRequest | Operation not allowed. The primary SIM must be in Activated or Suspended status. | The primary SIM is in any other status, for example Deactivated or Pending. | Add a secondary SIM only to a primary SIM that is Activated or Suspended. |
400 | REQUEST_FAILED.BadRequest | Secondary SIM activation is available only when the primary SIM is on an unlimited data plan. | The primary SIM is not on an Unlimited data plan. | Change the primary SIM to an Unlimited plan, then submit a new request. |
400 | REQUEST_FAILED.BadRequest | Secondary SIM activation is not available for provided ICCID. | The primary SIM is on any other carrier or carrier plan type. | Use a primary SIM on ATT APEX, TPR (Granite Wireless - VzW) or T-Mobile for Business. |
400 | REQUEST_FAILED.BadRequest | The secondary SIM must be Activated on a different carrier than the primary SIM. | The secondary SIM carrier is the same as the primary SIM's carrier. | Choose a different carrier for the secondary SIM. |
400 | REQUEST_FAILED.BadRequest | No Secondary SIM plan is available for the selected carrier and device type. | No secondary SIM plan is set up for the carrier and deviceType combination. | Call the activation options API to see the carriers and device types that are available, or contact your Account Manager. |
For the carriers and device types that are available to your account, call GET /helper/secondary-sim/activation-options. See Secondary SIM Activation Options.
Authentication and Access
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
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 activate secondary SIMs. | Contact your administrator for access. |
403 | REQUEST_FAILED.Forbidden | Feature SecondarySimActivation is not enabled for {macnum}. | Secondary SIM Activation is not enabled for the account in the macnum header. | Contact your Account Manager to enable Secondary SIM Activation. |
403 | REQUEST_FAILED.Forbidden | You do not have access to macnum : {account number} to perform this operation. | The primary SIM belongs to an account your token has no access to. | Submit a primary SIM that belongs to your accounts. |
403 | REQUEST_FAILED.Forbidden | Provided macnum: {SIM account number} does not belong to {macnum header}. | The primary 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. |
Server Errors
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
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. |
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