Help Center> IoT Device Management> FAQs> Secondary Development> FAQs About Product Development> Profile Definition> Incorrect File Format Is Displayed When Uploading a Profile to the Developer Center
Updated on 2022-02-24 GMT+08:00

Incorrect File Format Is Displayed When Uploading a Profile to the Developer Center

  1. Check whether the format of each JSON file is correct. You can use the online JSON verification format tool.
  2. Check whether the values of commands and properties in the servicetype-capability.json file are in the array format (whether the value is enclosed in the brackets).
  3. Check whether the profile package contains hidden files. If yes, delete the files and upload the profile package again. The Mac is used as an example to describe how to view hidden files:

    1. Start the Terminal program.
    2. Enter the following command: defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder.
    3. Press Return. The hidden files and folders are displayed in the Finder window.
      NOTE:

      To restore the hidden settings, run the following command:

      defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

Profile Definition FAQs

more