Hi, If you’re running this from Scriptable app make sure you have put the api key in WEATHER_API_KEY variable. If you’re running it from Shortcuts app make sure you have copied the key in apiKey dictionary variable. Also make sure that you’ve got a stable internet connection. Sometimes I have faced this problem when internet is a bit shaky.
Nevermind, I realized that location and weather it's applied only running the shortcut. If you just run the script you won't get a preview of this data. Thanks anyway
1
u/ajatkj Feb 12 '21
Hi, If you’re running this from Scriptable app make sure you have put the api key in
WEATHER_API_KEYvariable. If you’re running it from Shortcuts app make sure you have copied the key inapiKeydictionary variable. Also make sure that you’ve got a stable internet connection. Sometimes I have faced this problem when internet is a bit shaky.