Skip to content

[BUG] 401 Error with openweathermap as API version change #789

@alucarddelta

Description

@alucarddelta

Environment

Self-Hosted (Docker)

System

Unraid version 6.10.3, Docker version 20.10.14, Firefox 102.0.1

Version

2.1.1

Describe the problem

Hey.

Setting up the Weather Widget with a new openweathermap user is returning a 401 (unauth) error code being returned form openweathermap .

It appears that new accounts from openweathermap have changed the default API version adm the API key that gets generated is the 3.0 type. As per https://openweathermap.org/api

This means all new openweathermap accounts created will not get the 2.5 API version creds which Dashy appears to be using according to the Sentry output.

Additional info

Config

      - type: weather
        options: null
        apiKey: XXXXXXX
        city: Brisbane, AU
        units: metric
        hideDetails: false
        id: 1_759_weather

image

image

Please tick the boxes

Simple and fast and free weather API from OpenWeatherMap you have access to current weather data, hourly, 5- and 16-day forecasts. Historical weather data for 40 years back for any coordinate. Weather maps, UV Index, air pollution and historical data

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