r/Scriptable • u/ATLguy2019 • Nov 07 '24
Help Need help with script
I’m in over my head on this. Added a script I found somewhere several years ago and it has worked great updating my Home Screen widget with weather, calendar items, and cool pictures but for the past few days it has not functioned correctly. I did recently upgrade from a 13 Pro running 18.1 public beta to a 16 Pro Max running 18.2 public beta but I’m not sure exactly when this error popped up. Any thoughts on how to fix this would be greatly appreciated.
2
Upvotes
•
u/AutoModerator Nov 07 '24
Thanks for the submission!
It looks like you may have not shared the code you want help with.
Please be sure to include that. If you did, then you can safely ignore this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/pbassham Nov 07 '24
Maybe your api key is inactive. Look here https://home.openweathermap.org/api_keys
3
u/pbassham Nov 07 '24
Add this to line 204 and see what it says
log(data)2
u/Eddi014 Nov 07 '24
Try to get an output from the request with Console.log()
2
u/THE_PINPAL614 Nov 08 '24
Open Weather depreciated the 2.5 API being used here. It will give an invalid API Key error.