Error codes

Updated at:
Copy as MD

This topic lists the error messages returned when a call to the IoT Blockchain Hub device-side API fails.

Error code

Description

Troubleshooting guide

0

Success

None

-1

General error

Compare your code with the sample demo to check if the call logic is correct.

-2

Input parameter error

Check if the input parameters are correct.

-3

Insufficient input buffer size

Check if the input buffer is too small.

-4

Request data length is too long

Check if the length of the request data is too long.

-5

Out of memory

Check the available memory on the device.

-6

Function call error

Check if the adapted low-level function is correct.