Skip to content

Commit b2ab89a

Browse files
authored
📝 Adds even more info under weather widget 401 (Lissy93#803)
1 parent 3402f12 commit b2ab89a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/troubleshooting.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -434,12 +434,21 @@ If this is the case, you can disable the UI error message of a given widget by s
434434
435435
## Weather Forecast Widget 401
436436
437-
[Weather widget](/docs/widgets.md#weather-forecast) is working fine, but you are getting a `401` for the [Weather Forecast widget](/docs/widgets.md#weather-forecast), then this is most likely an OWM API key issue.
437+
A 401 error means your API key is invalid, it is not an issue with Dashy.
438438
439-
The forecasting API requires an upgraded plan. ULPT: You can get a free, premium API key by filling in [this form](https://home.openweathermap.org/students). It's a student plan, but there's no verification to check that you are still a student.
439+
Usually this happens due to an error in your config. If you're unsure, copy and paste the [example](/docs/widgets.md#weather) config, replacing the API key with your own.
440+
441+
Check that `apiKey` is correctly specified, and nested within `options`. Ensure your input city is valid.
442+
443+
To test your API key, try making a request to `https://api.openweathermap.org/data/2.5/weather?q=London&appid=[your-api-key]`
444+
445+
If [Weather widget](/docs/widgets.md#weather-forecast) is working fine, but you are getting a `401` for the [Weather Forecast widget](/docs/widgets.md#weather-forecast), then this is also an OWM API key issue.
446+
Since the forecasting API requires an upgraded plan. ULPT: You can get a free, premium API key by filling in [this form](https://home.openweathermap.org/students). It's a student plan, but there's no verification to check that you are still a student.
440447
441448
A future update will be pushed out, to use a free weather forecasting API.
442449
450+
See also: [#803](https://github.com/Lissy93/dashy/issues/803), [#789](https://github.com/Lissy93/dashy/issues/789), [#577](https://github.com/Lissy93/dashy/issues/577), [#621](https://github.com/Lissy93/dashy/issues/621), [#578](https://github.com/Lissy93/dashy/issues/578)
451+
443452
---
444453
445454
## Font Awesome Icons not Displaying

0 commit comments

Comments
 (0)