Help Center>
IoT Device Management>
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
Calling APIs FAQs
- Authentication API of the IoT Platform Is Successfully Called Locally But Fails to Be Called on Application Servers
- Error Occurs When an NA Calls an API
- Online Application Simulator Fails to Deliver Commands
- Command Is Successfully Delivered Using the Simulator But Fails to Be Delivered by Calling the API
- Application Server Fails to Deliver Commands and Receives Error Code 403
- How Does an Application Server Deliver a Cache Command
- What Does an Expired Command Mean
- Does the IoT Platform Support Command Resending
- What Does a Timeout Command Mean
- Can the IoT Platform Deliver Commands in Batches
- Are the APIs of the IoT Platform Called Only Using Java
- What Are the Command States on the IoT Platform
- Failed to Call the Calling the Registering Directly Connected Devices API
- APIs Fail To Be Called After a Period of Time While Parameters Remain Unchanged
- Commands Fail to Be Sent After a Period of Time While the Previous Commands Are Successfully Sent
- Historical Data Is Not Returned When the Querying Historical Device Data API Is Called
- Devices Registered with the IoT Platform Are Deleted After a Period of Time
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.
Chatbotmore