The plan is checked before the rest of the request. If the plan is invalid, only the plan error is returned. Checks on the number and the SIM itself, such as whether the number is already active or the IMEI is in use, run after the request is accepted and are returned in the callback. See Port In - Async Error Messages.
Port In - Sync Error Messages
These errors are returned immediately in the HTTP response to POST /subscriber-management/actions/port-in. When a request is rejected with one of these errors, no SIM in the request is processed and no callback is sent.
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. {n} in a message is the zero-based position of the SIM in sims, and {m} is the position of a secondary SIM in secondarySims.
Note
Plan
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | PlanName is invalid. | planName is missing or blank. | Send the name of a Port In plan. |
400 | REQUEST_FAILED.BadRequest | Invalid Plan Name '{planName}'. | No Port In plan has that name, or none is left after filtering by the add-ons in features. | Check the plan name and features against the Port In plans available to you. |
400 | REQUEST_FAILED.BadRequest | Static IP Activations are not allowed for T-Mobile. | The request uses a T-Mobile static IP plan. | Choose a T-Mobile dynamic IP plan. |
Request and Account
| 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. | sims is an empty list. | Provide at least one SIM in sims. |
400 | REQUEST_FAILED.BadRequest | Sims.Count: Request limit exceeded. Maximum 100 SIMs allowed. | More than 100 SIMs are submitted in one request. | Split the SIMs into requests of 100 or fewer. |
400 | REQUEST_FAILED.BadRequest | PortInType: PortInType must be 'NewPortIn'. | portInType is sent with a value other than NewPortIn. | Send portInType = NewPortIn, or leave it out. |
400 | REQUEST_FAILED.BadRequest | AccountNumber: : Account Number must not be empty. | activateOption = ExistingAccount and accountNumber is missing or empty. | Send the 8-digit number of the existing child account. |
400 | REQUEST_FAILED.BadRequest | AccountNumber: {accountNumber}: Account Number should be an 8-digit numeric value. | activateOption = ExistingAccount and accountNumber is not exactly 8 digits. | Send a valid 8-digit account number. |
400 | REQUEST_FAILED.BadRequest | AccountCreationMode: AccountCreationMode is required. | activateOption is NewAccount, or is missing, and accountCreationMode is not sent. A request without activateOption is treated as a new account request. | Send accountCreationMode, or set activateOption = ExistingAccount. |
400 | REQUEST_FAILED.BadRequest | ParentAccountNumber: 'Parent Account Number' must not be empty. | New account request and parentAccountNumber is missing or empty. | Send the 8-digit parent account number. |
400 | REQUEST_FAILED.BadRequest | ParentAccountNumber: 8 characters UserParentMacnum is required. | New account request and parentAccountNumber is not exactly 8 digits. | Send a valid 8-digit parent account number. |
400 | REQUEST_FAILED.BadRequest | AccountInfo: AccountInfo is required when ActivateOption = NewAccount. | accountCreationMode = CreateOneAccountForAllSIMs and accountInfo is not sent at the request level. | Send accountInfo at the request level. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AccountInfo: AccountInfo is required when ActivateOption = NewAccount. | accountCreationMode = CreateSeparateAccountForEachSIM and a SIM has no accountInfo. | Send accountInfo on every SIM. |
New Account Details
These errors apply to accountInfo. The message starts with AccountInfo. when accountInfo is sent at the request level (CreateOneAccountForAllSIMs), and with Sims[{n}].AccountInfo. when it is sent on each SIM (CreateSeparateAccountForEachSIM). The billing address and invoice errors apply only when billingOption = ChildPays.
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | AccountInfo.CustomerName: Account Info Customer Name is required and must be 1–100 characters long, containing at least one letter. | customerName is missing, longer than 100 characters, or has no letters. | Send a customer name of 1 to 100 characters with at least one letter. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ContactPhone: 10-15 characters Contact phone is required. | contactPhone is missing or is not 10 to 15 digits. | Send a contact phone number of 10 to 15 digits. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.GenInfoEmail: Email address for general info is required. | genInfoEmail is missing. | Send an email address. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.GenInfoEmail: Please enter a valid email address. If using a 'granite' domain, it must be granitenet.com. | genInfoEmail is not a valid email address. | Send a valid email address. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.GenInfoEmail: The length of 'Account Info Gen Info Email' must be 100 characters or fewer. You entered {length} characters. | genInfoEmail is longer than 100 characters. | Use an email address of 100 characters or fewer. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.BillingOption: 'Account Info Billing Option' must not be empty. | billingOption is missing. | Send ParentPays or ChildPays. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ServiceAddress: ServiceAddress is required. | serviceAddress is missing. | Send the service address. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ServiceAddress.Address1: Address1 of ServiceAddress is required. | address1 is missing. | Send the street address. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ServiceAddress.Address1: Address1 of ServiceAddress must be 30 characters or fewer. | address1 is longer than 30 characters. The same rule applies to address2 (Address2 of ServiceAddress must be 30 characters or fewer.). | Shorten the address to 30 characters or fewer. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ServiceAddress.City: City of ServiceAddress is required. | city is missing. A city longer than 30 characters returns City of ServiceAddress must be 30 characters or fewer. | Send a city of 30 characters or fewer. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ServiceAddress.State: A valid 'State' is required, e.g. NY | state is not a valid two-letter state code. A missing state returns 'Account Info Service Address State' must not be empty. | Send a two-letter state code, for example NY. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.ServiceAddress.Zip: Zip Code must be in the format of '72170'. | zip is not 5 digits. A missing ZIP code returns 'Account Info Service Address Zip' must not be empty. | Send a 5-digit ZIP code. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.BillingAddress: BillingAddress is required. | billingOption = ChildPays and billingAddress is missing. Its fields follow the same rules as serviceAddress, with BillingAddress in the message. | Send the billing address. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.InvoiceDeliveryMethod: 'Account Info Invoice Delivery Method' must not be empty. | billingOption = ChildPays and invoiceDeliveryMethod is missing. | Send Paper, Paper+Email or EmailOnly. |
400 | REQUEST_FAILED.BadRequest | AccountInfo.InvoiceStyle: 'Account Info Invoice Style' must not be empty. | billingOption = ChildPays and invoiceStyle is missing. | Send Child-No Bill or Summary Bill. |
SIM Details
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SimType: Sim Type is required. | A SIM has no simType. | Send Physical or eSIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Msisdn: Msisdn is required. | A SIM has no msisdn. | Send the 10-digit number to port in. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Msisdn: MSISDN Should be 10 digit. | The msisdn is not exactly 10 digits. | Send a 10-digit number with no spaces or symbols. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Imei: IMEI is required. | A SIM has no imei. IMEI is required for every Port In SIM. | Send the 15-digit IMEI of the device. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Imei: Please enter a valid IMEI 15 characters long. | The imei is not exactly 15 digits. | Send a 15-digit IMEI. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Iccid: ICCID is required. | A Physical SIM has no iccid. eSIMs do not need one. | Send the ICCID of the SIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Iccid: ICCID should be numeric. | The iccid contains characters other than digits. | Send a numeric ICCID. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Iccid: ICCID should be {length} digits for the selected carrier. | The iccid length does not match the plan's carrier. T-Mobile ICCIDs are 19 digits; other carriers use 20. | Check that the ICCID is complete and belongs to the plan's carrier. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Iccid: Provided ICCID belongs to {carrier}. Please input a valid ICCID according to the selected carrier. | The ICCID belongs to a different carrier from the plan. | Choose a plan for the SIM's carrier, or use a SIM from the plan's carrier. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].Iccid: Provided ICCID does not belong to the selected carrier. Please input a valid ICCID according to the selected carrier. | The ICCID does not belong to any supported carrier. | Check the ICCID. |
400 | REQUEST_FAILED.BadRequest | Sims: Duplicate Msisdn detected. Please ensure each PortIn SIM has a unique Msisdn. | The same number appears more than once in the request. | Port each number only once per request. |
400 | REQUEST_FAILED.BadRequest | Sims: Duplicate IMEI detected. Please ensure each Connection has a unique IMEI number. | The same IMEI appears more than once in the request, including on secondary SIMs. | Use a different IMEI for each SIM. |
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 | Sims: Mixed SIM types are not allowed. Please submit either physical or virtual SIMs. | The request has more than one SIM, and mixes Physical SIMs and eSIMs. | Send Physical SIMs and eSIMs in separate requests. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].ZipCode: Zip Code must be in the format of '72170'. | zipCode is sent but is not 5 digits. | Send a 5-digit ZIP code. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].DeviceUser: Device User should be less than 100 characters. | deviceUser is longer than 100 characters. | Use 100 characters or fewer. |
Old Carrier Details
These errors apply to oldServiceProviderDetail. Which name and carrier fields are required depends on the carrier of the Port In plan. See Old Carrier Details.
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail: OldServiceProviderDetail is required for PortIn SIMs. | A SIM has no oldServiceProviderDetail. | Send the old carrier account details for every SIM. |
400 | REQUEST_FAILED.BadRequest | Sims: OldServiceProviderDetail.Carrier must be the same across all PortIn SIMs. | The request has more than one SIM, and their carrier values differ. Carriers are compared without regard to case. | Send numbers from different old carriers in separate requests. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.BillingAccountNumber: Billing Account Number is required. | billingAccountNumber is missing. It is required on every plan. | Send the account number at the old carrier. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.BillingAccountNumber: {billingAccountNumber}: Billing Account Number must contain only numeric characters. | billingAccountNumber contains characters other than digits. | Send the account number using digits only. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.BillingAccountNumber: Billing Account Number must be between 1 and 25 characters. | billingAccountNumber is longer than 25 digits. | Send an account number of 25 digits or fewer. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.BillingAccountPassword: Billing Account Password must be between 1 and 20 characters. | billingAccountPassword is longer than 20 characters. | Send a PIN or password of 20 characters or fewer. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.BillingAccountPassword: Billing Account Password must contain only alphanumeric characters, spaces, or common special characters. | billingAccountPassword contains characters that are not allowed. | Use letters, numbers, spaces and common punctuation only. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.Carrier: Carrier must be between 1 and 50 characters. | carrier is longer than 50 characters. | Send a carrier name of 50 characters or fewer. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.FirstName: First Name is required. | On ATT plans (and T-Mobile plans other than T-Mobile for Business), firstName is missing. The same applies to lastName (Last Name is required.) and businessName (Business Name is required.). | Send the first name, last name and business name on the old carrier account. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.FirstName: First Name is required and must be 1–100 characters long, containing at least one letter. | firstName is longer than 100 characters or has no letters. The same rule applies to lastName and businessName on every plan, when they are sent. | Send a name of 1 to 100 characters with at least one letter. |
Granite Wireless - VzW
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.Carrier: Carrier is required. | A SIM on a Granite Wireless - VzW plan has no carrier. | Send the name of the old carrier. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.FirstName: Either FirstName and LastName, or BusinessName, is required. | A SIM on a Granite Wireless - VzW plan has neither firstName + lastName nor businessName. | Send the person's first and last name, or the business name. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].OldServiceProviderDetail.BusinessName: Provide either FirstName and LastName OR BusinessName, not both. | A SIM on a Granite Wireless - VzW plan has both a name and businessName. | Send the person's name or the business name, not both. |
Secondary SIM
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims: Secondary SIM Activation is only allowed when PortInActivation SIM is Virtual. | A Physical Port In SIM has secondarySims. | Port In on an eSIM, or remove secondarySims. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims: Only one Secondary SIM Activation may be linked to each PortIn primary SIM. | A Port In SIM has more than one entry in secondarySims. | Send one secondary SIM per Port In SIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].Carrier: Carrier is required. | A secondary SIM has no carrier. | Send ATT, T-Mobile or Granite Wireless - VzW. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].SimType: Secondary SIM Activation must be of SimType 'Virtual'. | A secondary SIM is not simType = eSIM. | Send simType = eSIM on the secondary SIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].SecondarySims[{m}].Imei: IMEI is required. | A secondary SIM has no imei. An IMEI that is not 15 digits returns Please enter a valid IMEI 15 characters long. | Send the device's second IMEI (IMEI2). |
400 | REQUEST_FAILED.BadRequest | Sims: All secondary SIM Activations must have the same Carrier. | Secondary SIMs in the request use different carriers. | Use one carrier for all secondary SIMs, or send separate requests. |
400 | REQUEST_FAILED.BadRequest | Sims: Carrier is not supported for secondary SIM Activation. | The secondary SIM carrier is not ATT, T-Mobile or Granite Wireless - VzW. | Use one of the supported carriers. |
400 | REQUEST_FAILED.BadRequest | Sims: Secondary activation carrier must be different from PortIn activation carrier. | The secondary SIM is on the same carrier as the Port In plan. | Use a different carrier for the secondary SIM. |
Tags and Account Identifiers
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AddTags: Maximum of 10 tags are allowed per Connection. | A SIM has more than 10 tags in tagItem.addTags. | Send 10 tags or fewer per SIM. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AddTags: Tags must be unique. | The same tag appears more than once on a SIM. Tags are compared without regard to case. | Remove the duplicate tags. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AddTags: TagName is required. | A tag is empty. | Remove empty tags. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AddTags: Invalid tag format: '{tag}'. Only letters, numbers, spaces, colon (:), underscore (_), hyphen (-), at (@) and period (.) are allowed, max 100 characters. | A tag has characters that are not allowed, or is longer than 100 characters. | Use only the allowed characters, up to 100 per tag. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AccountIdentifiers.CustomField1: Custom Field 1 should be less than 100 characters. | customField1 is longer than 100 characters. customField2 has the same limit. | Use 100 characters or fewer. |
400 | REQUEST_FAILED.BadRequest | Sims[{n}].AccountIdentifiers.GeneralLedgerNo: General Ledger # should be less than 50 characters. | generalLedgerNo is longer than 50 characters. branchNo (Branch # should be less than 50 characters.) and employer (Employer should be less than 50 characters.) have the same limit. | Use 50 characters or fewer. |
Authorization and System Errors
| Status Code | ErrorCode | Error Message | Occurs When | Resolution |
|---|---|---|---|---|
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, or a field has a value that is not allowed, such as simType = "Foo". The response is a standard problem-details body that names the field in error. | Send a valid JSON request body with allowed values. |
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 | REQUEST_FAILED.Forbidden | Feature PortIn is not enabled for {user email}. | Port In is not enabled for your user. | Contact your Account Manager to enable Port In. |
403 | (no error body) | (empty response) | Your token does not have a role that is allowed to port in numbers. | Contact your administrator for access. |
429 | (no error body) | (empty response) | Too many requests were sent in a short period. | Wait briefly and retry. |
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. |