Account FAQ

更新时间:
复制 MD 格式

This topic describes common questions and solutions related to accounts.

Your account

Built-in accounts

Custom account integration: App authorization logon returns "10000 msg: Server is busy"

Check for the following possible causes:

  • Check whether the app correctly initializes and calls the account authorization method as described in the document. A successful call prints a log similar to the following.日志
  • Whether the URL on the customer's server-side for obtaining the AccessToken is publicly accessible.
  • Check whether the fields returned by your server when retrieving the access token comply with the document.
  • Check whether there is an issue with your server-side certificate.

    If the certificate is invalid, a log similar to the following is printed. For more information about how to resolve this issue, see this third-party resource.

    login failed  code:10000 msg:SERVER_ERROR,sun.security.validator.ValidatorException: PKIX path 
    building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
    valid certification path to requested target: [0bc1746d15622262046205726e0719]

Custom account authorization logon returns a code:400 error message

code:400
    message:Invalid Signature, Server StringToSign:POST#application/json; charset=utf-8#IvEsSmqtACVpPx1APnAgjg==#application/octet-stream; charset=utf-8#Wed, 29 May 2019 06:37:20 GMT+00:00#x-ca-key:24972613#x-ca-nonce:b17a8b35-a8a1-4df8-93e2-48ba20828c24#x-ca-signature-method:HmacSHA1#x-ca-timestamp:1559111840908#/account/createSessionByAuthCode
    localizedMsg:Server is busy. Please try again later.

If a log similar to the one shown in the preceding example appears, check the following items.

  • Check whether the configurations for the production and test versions of your custom account are correct.
  • The same AppKey and AppSecret must correspond to the same URL. Do not use the same AppKey and AppSecret for different URLs.
  • Check whether the AppKey, AppSecret, and URL on your server match.

How do I handle user profile pictures when my app uses built-in accounts?

The IoT Platform only stores links to profile pictures. You can use a third-party cloud drive or a file storage service, such as Alibaba Cloud Object Storage Service (OSS), to store the actual picture files. For more information, see Alibaba Cloud OSS.