02-26-2022 20:53
02-26-2022 20:53
I am trying to test out the new 6.0 weather API found here: https://dev.fitbit.com/build/reference/companion-api/weather/
But when I try to build, I'm getting the following error:
TypeError: Cannot create property 'code' on boolean 'true'
It seems someone else is having a similar issue when pulling a 'working' github repo.
Might be something broke on a new update?
02-26-2022 20:56
02-26-2022 20:56
I'm wondering if this is an issue with the companion as I am able to get the HRM working
02-26-2022 21:16
02-26-2022 21:16
Are you sure the repo you're trying to build is up-to-date and complete?
02-26-2022 21:19
02-26-2022 21:19
Hello. I'm not trying to build an existing repo. I created a new project and was copy/pasting code directly from the docs to check responses before implementing something. Nothing custom out of the box.
02-26-2022 21:57
02-26-2022 21:57
Sorry; I was thrown by the 'project/common/utils.js' message in the original post.
02-26-2022 22:05
02-26-2022 22:05
Ah, no worries! Yeah a bit confusing especially since the utils only contains what was already there when I created the project..
02-27-2022 00:41
02-28-2022 17:37
02-28-2022 17:37
Turns out this is happening with any code that I'm writing. I had some code work, but moved to another file for organization, and now all of a sudden I'm getting the same error. I'm not quite sure this looks like my fault. It's bizarre that I'm not hearing more about other people with issues.