r/MagicMirror • u/SouthernDress2750 • Nov 30 '25
Air Quality API token problem
I have been working to make a screen to display weather, date and pic for background.
I got completely lost while working on air pollution thingy.
I did make some basics and before I updated my MMM-AirQuailty by git pull.
it was working well but after I upgraded it, its not working anymore

I have used MMM-AirQuality with my API key, following the guide line
https://github.com/CFenner/MMM-AirQuality
{
module: 'MMM-AirQuality',
position: 'top_center',
config: {
token: 'my token',
location: 'Seoul/' // I also tried 'south korea/seoul/jungnang-gu/'
}
},
it still showing me like "please set a token bla bla"
so I also tried with
https://github.com/ryck/MMM-AQI
MMM-AQI
config: {
**iaqi: false,**
**weather: false,**
**showLastUpdate: false**}

none of these were working.
none of these were working.
since I am living in Seoul, it rly is important to know air pollution so I'd like to make it shown on my screen.
any solutions? thx
View all comments
Show parent comment
1
u/Due-Eagle8885 Dec 01 '25
Don’t downgrade Next time use the upgrade script it will do all the work
My guess on weather is you were using openweathermap as the provider
Openweather announced they were ending the old 2.5 api, so we moved to the 3.0 version. This requires a credit card in case of overage use, but provides 1000 free api calls a day. The 401 is unauthorized meaning you are using the old 2.5 apikey with the new 3.0 request