Help Center> IoT Device Access> FAQs> Codecs> What Should I Do If There Is a Codec Exception After a Codec Package Developed Offline Is Checked and Uploaded to the IoT Platform?

What Should I Do If There Is a Codec Exception After a Codec Package Developed Offline Is Checked and Uploaded to the IoT Platform?

  1. This exception is caused by the codec code. Usually, there is a missing dependency or the code logic is incorrect. You can rectify the fault based on the Java exception prompt in the logs.
  2. Print logs at the key code of the offline codec (for example, at the entrance and exit of the decode function), and contact platform personnel to obtain logs in the background to locate the fault.

    Figure 1 Example logs