Read the statement by Michael Teeuw here.
OpenWeatherForcast - Request failed with status code 401
-
I had a MagicMirror that was running on Bullseye and I decided to upgrade to Bookworm. Note to self “Leave running systems alone”.
Bookworm runs, MM starts up, and the modules for Calendar and MMM-Fuel are working properly. However, the MMM-OpenWeatherForecast module does not display any information and this error message is in the MagicMirror-out.log:
** ERROR ** Error: Request failed with status code 401
There are no other error messages from OpenWeatherForecast.
Any hints would be appreciated.
Butch Kemper
-
Problem solved. There are multiple MMM-OpenWeatherForecast repositories. The one I cloned for the new system was not the clone I was previously using. I changed to the module from Tom-Hirschberger/MMM-OpenWeatherForecast and everything began working as expected.
I apologize for my error.
Update: To prevent future issues, I have add a comment in config/config.js file on each module statement to remind me of the module repository location. The comment appears as: // github.com/Tom-Hirschberger/MMM-OpenWeatherForecast.
Butch Kemper
-
-
Problem solved. There are multiple MMM-OpenWeatherForecast repositories. The one I cloned for the new system was not the clone I was previously using. I changed to the module from Tom-Hirschberger/MMM-OpenWeatherForecast and everything began working as expected.
I apologize for my error.
Update: To prevent future issues, I have add a comment in config/config.js file on each module statement to remind me of the module repository location. The comment appears as: // github.com/Tom-Hirschberger/MMM-OpenWeatherForecast.
Butch Kemper
-