Updated on 2025-07-28 GMT+08:00

LTS SDK Access Error Codes

If an error occurs when you use the LTS SDK, rectify the fault by referring to Table 1.

Table 1 Error code

Status Code

Error Code

Message

Description

Solution

Parameter errors (LTS.00XX)

LTS.0001

%@ is null.

%@ is null.

Set the parameter and try again.

LTS.0002

%@ is invalid.

The type or format of %@ is invalid.

Set valid parameters and try again.

LTS.0003

The length of %@ exceeds the maximum value of %@.

Too many characters.

Modify the parameter and try again.

LTS.0004

The value of %@ must be between %@ and %@.

The value is out of the permitted range.

Modify the parameter and try again.

LTS.0006

%@ doesn't match pattern.

The parameter does not match the regular expression.

Set valid parameters and try again.

LTS.0007

Invalid configuration parameters.

Invalid parameters.

Set valid parameters and try again.

LTS.0009

Unsupported region.

The region is not supported.

Switch to the cn-north-4 region.

Integration errors (LTS.01XX)

LTS.0100

The LTSSDK is not initialized.

The SDK has not been initialized.

Set valid parameters to initialize the SDK.

LTS.0102

The LTSSDK requires %@ or higher.

The OS version must be %@ or higher.

Ensure that the OS version meets requirements.

LTS.0103

Open database failed, code=%@.

Failed to open the database.

Handle the problem based on the SQLite 3 error code.

LTS.0104

Create database table failed, code=%@, error=%@.

Failed to create the data table.

Handle the problem based on the SQLite 3 error code.

LTS.0105

Insert into database failed, code=%@, error=%@.

Failed to insert data.

Handle the problem based on the SQLite 3 error code.

LTS.0106

Delete from database failed, code=%@, error=%@.

Failed to delete the data.

Handle the problem based on the SQLite 3 error code.

LTS.0107

Select from database failed, code=%@, error=%@.

Failed to query the data.

Handle the problem based on the SQLite 3 error code.

LTS.0108

Close database failed, code=%@.

Failed to close the database.

Handle the problem based on the SQLite 3 error code.

LTS.0109

Reduce database size failed, code=%@, error=%@.

Failed to reduce the database size.

Handle the problem based on the SQLite 3 error code.

LTS.0110

Begin transaction failed, code=%@, error=%@.

Failed to enable the transaction.

Handle the problem based on the SQLite 3 error code.

LTS.0111

Commit transaction failed, code=%@, error=%@.

Failed to submit the transaction.

Handle the problem based on the SQLite 3 error code.

LTS.0112

The count of database records exceeds the maximum value of %@, will delete %@ records before inserting.

There are too many logs.

Automatically delete old logs before inserting new logs.

LTS.0113

Add column(%@) to database failed, code=%d, error=%s.

Failed to add a field to the database table.

Handle the problem based on the SQLite 3 error code.

LTS.0114

Update column(%@) to database failed, code=%d, error=%s.

Failed to update a field in the database table.

Handle the problem based on the SQLite 3 error code.

System errors (LTS.02XX)

LTS.0201

Request signature failed.

Failed to sign the network request.

Check whether the region and device time (time zone) are correct.

LTS.0202

Write to file failed.

Failed to write data into the file.

Check the permissions on the file.

LTS.0203

No file read and write permissions.

No file read and write permissions.

Grant the read and write permissions on the file or directory.

Network errors

(LTS.03XX)

LTS.0300

Request failed, response code=%@, error=%@.

Failed to send the request.

Refer to the error codes in the API Reference.