thingProperties.h library error

Hi, I’m trying to upload sketch “Your environmental data on Arduino IOT cloud” and get an error about thingProperties.h library

I can’t seem to find this library however the include statement is in the code of the sketch in the Project Hub so I guess it existed sometime.
Is there a library I can replace thingProperties.h with?

Using a Lenovo Chromebook

This is the error I get:

/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:samd:mkrwifi1010 -build-cache /tmp -build-path /tmp/548804662/build -verbose -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -prefs -libraries /tmp/548804662/custom -libraries /tmp/548804662/pinned /tmp/548804662/env_shield_mar08a

→ candidates:

Using library arduinocloudthing_1_7_3 at version 1.7.3 in folder: /home/builder/opt/libraries/latest/arduinocloudthing_1_7_3

/tmp/548804662/env_shield_mar08a/env_shield_mar08a.ino:26:10: fatal error: thingProperties.h: No such file or directory

#include “thingProperties.h”


compilation terminated.

exit status 1

Hi @125Micro. Since we use #include directives of .h files to access the capabilities of libraries, it’s easy to assume that all .h files you see in the #include directives of a sketch are from libraries. However, this is not so. Arduino sketches may contain multiple files, including .h files. In this case, you would use an #include directive to include the .h file of the sketch itself.

This is the case with the Arduino IoT Cloud sketches. When you create a “Thing”, the auto-generated sketch contains a “thingProperties.h” file which has the declarations of the properties you added to the thing. This file is not part of a library because it is different for each thing, and thus must be part of the sketch.

So this error indicates that the “thingProperties.h” file is missing from your sketch. If you will share a link to where you found the sketch, we can probably provide more guidance.