OpenWeatherMap: '401 Invalid API key' right after signing up
@devsingh05▲ 9 net votes
New OpenWeather keys are not active immediately; activation can take from minutes up to a couple of hours, and the account email may need confirming. Until then every call returns 401. Create the key early, test it with a single request, and check you are calling an endpoint included in the free plan (some One Call versions need a separate subscription).