FreshlianceFreshliance
Tracker document
Gateway document
  • English
  • 简体中文
Tracker document
Gateway document
  • English
  • 简体中文
  • API introduction

    • Overview
    • Parameter
    • Signature
    • Rules
    • Error code
  • API list

    • User information
    • Device information
    • Device data
    • Device group list
    • Grouped device List
    • Remote configuration
    • Sensor template

The platform will uniformly deal with the non-service calling errors of the developer's interface, and the return codes are as follows:

codemsgsubCodesubMsg
0Success
10000Service error
service-unknown-errorUnknown errors occurred in the service
service-not-availableThe service is temporarily unavailable
20000Authentication error
invalid-auth-tokenInvalid access token
auth-token-timeoutThe access token has expired
30000Permission error
no-permissionsNo api permissions
access-forbiddenAccess forbidden
ip-forbiddenIP access forbidden
40000Parameter error
missing-methodMissing method name parameter
missing-signatureMissing signature parameter
missing-signature-typeMissing signature type parameter
missing-appIdMissing appId parameter
missing-timestampMissing timestamp parameter
missing-versionMissing version parameter
invalid-parameterInvalid parameter
error-parameterIncorrect parameter
upload-failFile upload failed
invalid-file-extensionInvalid file extension
invalid-file-sizeInvalid file size
invalid-methodNonexistent method name
invalid-formatInvalid data format
invalid-signature-typeInvalid signature type
invalid-signatureInvalid signature
invalid-appIdInvalid appId parameter
invalid-timestampInvalid timestamp parameter
invalid-charsetInvalid character set
missing-signature-configNo key of the corresponding signature algorithm is configured
50000Business error
biz-errorBusiness error
60000Flow limit
request-call-limitedRequest call limit reached
99999Unknown error
unknown-errorUnknown error
Prev
Rules