Description
Environment
Self-Hosted (Docker)
System
Unraid 6.10.3, Edge Version 103.0.1264.49 (Official build) (64-bit)
Version
No response
Describe the problem
I am trying to use the Weather Widget and I keep getting "Unable to fetch data" errors. I have verified on the OpenWeatherMap site that my account is active. I even tried generating a new key. If I go into dev mode on my browser, I am seeing this:
"Missing API key for OpenWeatherMap This is likely not an issue with Dashy, but rather your configuration. If you think it is a bug, please open a ticket on GitHub: https://git.io/JukXk.
The command causing the issue appears to be: "GET https://api.openweathermap.org/data/2.5/weather?q=Decatur,%20US&appid=undefined&units=imperial 401 (Unauthorized)"
I don't see the api key being passed. The config for the widget looks like this:
- name: Local Weather
widgets:
- type: weather
options:
apikey: xxxxxxxxxxxx
city: Decatur, US
units: imperial
hideDetails: false
id: 0_1243_weather
I see some previous tickets that look like this, but their issues where resolved. Issue #789 looks almost exactly like my issue, except that he had his "options" field pointed to null but I do not. I verified that my config, matches the one provided in that case as well.
Any insight will be greatly appreciated!
Jon
Additional info
No response
Please tick the boxes
- You have explained the issue clearly, and included all relevant info
- You are using a supported version of Dashy
- You've checked that this issue hasn't already been raised
- You've checked the docs and troubleshooting guide
- You agree to the code of conduct
GitHub is where people build software. More than 83 million people use GitHub to discover, fork, and contribute to over 200 million projects.