When preparing software for your product, you must include product version at the top of the firmware source code. This must also match the version specified when uploading the firmware as product firmware.

PRODUCT_VERSION(1); // increment each time you upload to the console

Devices that are marked as development devices do not need a valid PRODUCT_VERSION.

With Device OS 4.0 and later, you only need the PRODUCT_VERSION and not the PRODUCT_ID.