Skip to content

[BUG] Weather Widget and OpenWeather API Key #803

Closed
@APT256

Description

@APT256

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

Screenshot 2022-07-16 224459
n

Additional info

No response

Please tick the boxes

GitHub is where people build software. More than 83 million people use GitHub to discover, fork, and contribute to over 200 million projects.

Metadata

Metadata

Assignees

Labels

🐛 Bug[ISSUE] Ticket describing something that isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions