Help Center/
IoT/
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
Updated on 2022-02-24 GMT+08:00
Authentication API of the IoT Platform Is Successfully Called Locally But Fails to Be Called on Application Servers
- You are advised to use the Demo or SDK provided by the IoT platform to call APIs.
- 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.
- Search for the directory where the JDK is installed.
echo $JAVA_HOME;
In this example, the directory is /opt/soft/java.
- Open the bin folder of the /opt/soft/java directory.
cd /opt/soft/java/bin
- Check the JDK version.
./java -version
- Search for the directory where the JDK is installed.
- Check whether the application server is integrated with the IoT platform certificate. The certificate is provided by the IoT platform service provider.
- Check whether the url, body, and header parameters are correct based on the Authentication API.
Parent topic: Calling APIs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot