Help Center > > FAQs> Secondary Development> FAQs About Application Development> Calling APIs> Authentication API of the IoT Platform Is Successfully Called Locally But Fails to Be Called on Application Servers

Authentication API of the IoT Platform Is Successfully Called Locally But Fails to Be Called on Application Servers

Updated at: Jun 26, 2019 GMT+08:00
  1. You are advised to use the Demo or SDK provided by the IoT platform to call APIs.
  2. Check whether the JDK version is 1.8 or later. (The TLS version is 1.2.) The Linux OS is used as an example to describe how to check the JDK version.

    1. Search for the directory where the JDK is installed.

      echo $JAVA_HOME;

      In this example, the directory is /opt/soft/java.

    2. Open the bin folder of the /opt/soft/java directory.

      cd /opt/soft/java/bin

    3. Check the JDK version.

      ./java -version

  3. Check whether the application server is integrated with the IoT platform certificate. The certificate is provided by the IoT platform service provider.
  4. Check whether the url, body, and header parameters are correct based on the Authentication API.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel