Premium APIsDevice Location

Error Codes

Request Errors

All ThingSpace Location Services API resources use this set of status codes in responses.

HTTP StatusError CodeMessageExplanation and Suggested Action
400INVALID_PARAMETERUnable to CancelAll/Partial request already completed “some or all device location request are completed”
400INVALID_PARAMETERInvalid JSONInvalid JSON
400INVALID_PARAMETERDevice not foundCould not find devices specified by user
400CACHE_UNAVAILABLELocation cache has no data for this deviceVerify the device ID, or set cacheMode=1 or 2 to request current location information
400INVALID_PARAMETERConflicting device listSet allDevice to true OR provide an exclusion list of devices, but not both
400INVALID_PARAMETERConsent check failedThe requested device is excluded from location services. You can send a POST /consents request to allow the device to be located
400INVALID_PARAMETEROwnership or MDN validation failedA device in the request does not belong to the specified account. Verify the device identifiers and MDNs and then retry the request
400INVALID_PARAMETERUWS verification failure (Could not find account {account})Verify the account number that you are using and then resend the request
400INVALID_PARAMETERUWS verification failure (The Session has expired.)The VZ-M2M-Token has expired. Use a POST /session/login request to get a new token
400INVALID_PARAMETERDevice type check failedThe specified device is not an IoT device and is not eligible for location services
400INVALID_PARAMETERInvalid account nameThe account name in the request was not found. Verify the spelling of the account name and retry the request
400INVALID_PARAMETERUnregistered accountThe account in the request is not registered for Device Location Services
400INVALID_PARAMETERInvalid accuracy modeVerify currently supported accuracy modes
400INVALID_PARAMETERInvalid cache modeSpecify 0, 1, or 2 for the cacheMode
400INVALID_PARAMETEREmpty device listThere were no devices in deviceList. Add devices to deviceList and resend the request
400INVALID_PARAMETERPer request max devices exceededThe request includes more than 10,000 devices. Reduce the number of entries in deviceList and resend the request
400INVALID_PARAMETERDuplicate devicesA device appears twice in deviceList. Remove any duplicate entries and resend the request
400INVALID_PARAMETERInput Binding ErrorJSON format error
400INVALID_PARAMETERInvalid device kind. Valid kinds are IMEI, MEID or ESNThe device kind was not recognized. Use IMEI, MEID or ESN
400INVALID_PARAMETERInvalid device ID formatThe value of the Identifier element was not in the format required by the Kind element. Set the Identifier element to a value that is in the format required by the Kind element, and then resend the request
400INTERNAL_ERRORFailed to get locationFailed to retrieve device location. Retry the request
400INTERNAL_ERRORFail to verify deviceCould not verify that the device is a Verizon device
400PARAMETER_ERROROwnership or MDN validation failedThe device does not belong to the account, or the MDN does not belong to the specified device
400PARAMETER_ERRORConflicting device listThe request included both allDevice=true and an exclusion list. Specify one or the other and resend the request
400PARAMETER_ERRORMax exclusion devices over limitThe number of devices specified for exclusion is more than the 2,000 device limit
400PARAMETER_ERRORInvalid device ID formatThe value of the Identifier element was not in the format required by the Kind element. Set the Identifier element to a value that is in the format required by the Kind element and then resend the request
400PARAMETER_ERRORDuplicate exclusion devicesA device is included twice in the list of devices to exclude. Remove the duplicate entry and send the request again
401INVALID_ACCESSThe access policy denied the resource operation for this userThe UWS account that was used to get a VZ-M2M-Token does not have access to the account specified in the request
500INTERNAL_ERRORInternal system errorInternal system error
500INTERNAL_ERRORFailed to get locationFailed to retrieve device location. Retry the request

Per-Device Errors

These errors may be returned in the error element for individual devices in a POST /locations or POST /locationreports` response.

Error TypeInfoExplanation and Suggested Action
TS CACHE UNAVAILABLELocation cache has no dataThere is no cached location information for this device. You can set cacheMode to 1 or 2 to find the current location of the device.
TS CONSENT CHECK FAILEDSpecified device ID was excluded from using the serviceThe device is in the exclusion list, and cannot be located with the Device Location API.
TS DEVICE TYPE CHECK FAILEDSpecified device category is not IoTThe specified device may be a phone or tablet. Only IoT devices can be located with the Device Location API.
TS DEVICE DATA UNAVAILABLELocation has no device dataThe device was not found in the location system
TS DEVICE LOCATION DATA UNAVAILABLELocation has no location dataThere is no location information available for the device
SYSTEM FAILUREThe request can not be handled because of a general problem in the location server.
UNSPECIFIED ERRORAn unspecified error used in case none of the other errors apply. This can also be used in case privacy issues prevent certain errors from being presented
UNAUTHORIZED APPLICATIONThe requesting location-based application is not allowed to access the location server or a wrong password has been supplied.
UNKNOWN SUBSCRIBERUnknown subscriber. The user is unknown, i.e. no such subscription exists.
ABSENT SUBSCRIBERAbsent subscriber. The device is currently not reachable; it may be powered off or out of range.
POSITION METHOD FAILUREPosition method failure. The location service failed to obtain the user’s position.
TIMEOUTTimer expiry for the requested event trigger
CONGESTION IN LOCATION SERVERThe request can not be handled due to congestion in the location server.
UNSUPPORTED VERSIONThe Location server does not support the indicated protocol version.
TOO MANY POSITION ITEMSToo many position items have been specified in the request.
FORMAT ERRORA protocol element in the request has invalid format. The invalid element is indicated in ADD_INFO.
SYNTAX ERRORThe position request has invalid syntax. Details may be indicated in ADD_INFO.
PROTOCOL ELEMENT NOT SUPPORTEDA protocol element specified in the position request is not supported by the Location Server, or the position result is not supported by the LCS Client. The element is indicated in ADD_INFO.
SERVICE NOT SUPPORTEDThe requested service is not supported in the Location Server. The service is indicated in ADD_INFO.
PROTOCOL ELEMENT ATTRIBUTE NOT SUPPORTEDA protocol element attribute is not supported in the Location Server. The attribute is indicated in ADD_INFO.
INVALID PROTOCOL ELEMENT VALUEA protocol element in the request has an invalid value. The element is indicated in ADD_INFO.
INVALID PROTOCOL ELEMENT ATTRIBUTE VALUEA protocol element attribute in the request has a wrong value. The element is indicated in ADD_INFO.
PROTOCOL ELEMENT VALUE NOT SUPPORTEDA specific value of a protocol element is not supported in the Location Server. The element and value are indicated in ADD_INFO.
PROTOCOL ELEMENT ATTRIBUTE VALUE NOT SUPPORTEDA specific value of a protocol element attribute is not supported in the Location Server. The attribute and value are indicated in ADD_INFO.
CANCELLATION OF TRIGGERED LOCATION REQUESTThe requested triggered location report is cancelled
QOP NOT ATTAINABLEThe requested QoP cannot be provided.
POSITIONING NOT ALLOWEDThe subscriber does not allow the application to position him/her for whatever reason (privacy settings in location server, LCS privacy class).
CONGESTION IN MOBILE NETWORKThe request can not be handled due to congestion in the mobile network.
DISALLOWED BY LOCAL REGULATIONSThe location request is disallowed by local regulatory requirements.
MISCONFIGURATION OF LOCATION SERVERThe location server is not completely configured to be able to calculate a position.
TARGET MOVED TO NEW MSC/SGSNThe triggered Location Request has been aborted due to that target has moved to another MSC/SGSN.
STANDARD LOCATION REPORT SERVICE NOT SUPPORTEDThe MLS Client does not support the standard location report service.
MLS CLIENT ERRORAn error occurred in the MLS Client.
STANDARD LOCATION REPORT SERVICE NOT ACCEPTEDThe standard location report was not accepted by the MLS Client
SUBSCRIBER ID IN STANDARD LOCATION REPORT SERVICE NOT VALIDThe subscriber in the Standard Location Report is not valid to the MLS Client
INVALID SERVICE ID IN STANDARD LOCATION REPORT SERVICEThe service identity in the Standard Location Report is not valid to the MLS Client

Managed Account Errors

HTTP StatusError CodeMessageExplanation and Suggested Action
400INVALID_PARAMETERAcct Not Provisioned With Provided Parameters. Check service & type fieldsThe specified account could not be provisioned or canceled as requested. Verify that the account has been added to the primary account.
400INVALID_PARAMETERInvalid Service NameThe specified service name was not recognized. Verify the spelling and try the request again.
400INVALID_PARAMETERPrimary account not registeredThe primary account specified in the request does not have any managed accounts.
400INVALID_PARAMETERTxd MismatchThe transaction ID does not match the last action take on the account.
400INVALID_PARAMETERUWS account validation failed(The contact does not have access to the account {account}.)The UWS user is not associated with the specified account, and cannot make any changes to that account.

On this page