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?
Are you sure the repo you're trying to build is up-to-date and complete?
Best AnswerHello. 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.
Best AnswerSorry; I was thrown by the 'project/common/utils.js' message in the original post.
Best AnswerAh, no worries! Yeah a bit confusing especially since the utils only contains what was already there when I created the project..
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Best AnswerTurns 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.
Best Answer