Trouble shooting
Problem on API requesting
Authentication error (401 Unauthorized) occurred.
- The API token included in the X - APITOKEN header in the request header is incorrect or empty.Please set the correct API token
'429 Too many requests' occurred
- The number of requests per second exceeded a certain number of times (20 times).This is due to flow control on the platform side.
'400 Bad Request' occurred when object is updated.
- JSON message of request body is invalid. Make sure that the correct JSON message is configured.
Problem on connecting the device
Data can not be uploaded
- Username / password authentication is incorrect when connecting MQTT device connector. Please check that username is the ThingScale account (U ******) and password is set correctly for the device token.
- MQTT topic is wrong.Make sure that <DEVICE_TOKEN>/json/<DEVICE_ID> is specified as the topic format for MQTT Publish.Even if authentication with MQTT connection succeeds, if the device token included in the topic is invalid, the device connector refuses to accept the data.
Device is not activated.Make sure that the status of the device is set to Enabled ("enabled" = true).If the status is invalid ("enabled" = false), the device connector ignores the connection.
Channel is not set.Since there is no valid channel set for the device, there is no way to write the stream.Please create a new channel and attach it to the device.
'429 Too many requests' error occurred when using HTTP device connector
- When connecting to HTTP, it is limited to 1 upload per second. Please use MQTT connection.