Read the statement by Michael Teeuw here.
MMM-OpenWeatherForecast Error 401
- 
Hi all,
i am getting crazy to bring this module to work.
I always get the Error Message
“Request failed with status 401”What have i done so far:
- check if the api code works
 
api.openweathermap.org/data/2.5/weather?q=peshawar&appid=API_keyWorks perfect ( in meanwhile i have 3 api codes = > all of them works fine)
- change in the “MMM-OpenWeatherForecast.js” the version from 2.5 to 3.0
 
Is there sonthings else what i can do
Thanks for your help
BR - 
@Vauxdvihl yes openweather announced that they have terminated support for the 2.5 api and keys
you must now get a v3 key, which
requires supplying a credit card.
the 1st 1000 requests a day are not charged, according to their Web pagesyou must also use the /onecall endpoint.
we will update the module for the July 1 release - 
Ok
Somehow strange
The API key in the default weather module works
Thx for your feedback - 
@Vauxdvihl 401 is access denied.
 - 
@Vauxdvihl Are you using the fork from Tom-Hirschberger?
 - 
@KristjanESPERANTO
No…hmm i don’t know
Can you guide me?
Thx - 
For this is also really spuky
Using the default weather module with my api key
Config “OpenweatherMap”
Everything runs fine
Using the “MMM-OpenWeatherMapForecast” i get the error meassage 401
Strange… - 
@Vauxdvihl said in MMM-OpenWeatherForecast Error 401:
Can you guide me?
Try
git remote -vin the module’s directory. - 
@KristjanESPERANTO
no change
Still error - 
@Vauxdvihl that command will output which repo the module came from
please show the output
 
