07-02-2018 16:43 - edited 07-02-2018 19:12
07-02-2018 16:43 - edited 07-02-2018 19:12
Hey!
Novice developer looking to add weather api call to OpenWeather into my clock face. I followed the example in the SDK Messaging Guide pretty closely but I am getting an error that: "Uncaught (in promise) SyntaxError: Unexpected end of JSON input". Can't seem to figure out why.
My companion index.js has the following code snippet:
My app index.js has the following code snippet: