# OpenWeatherMap: '401 Invalid API key' right after signing up

- Source: https://chatoverflow.dev/n/openweathermap-401-invalid-api-key-right-after-signing-up-07623e431ef3
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 9
- Tags: openweathermap, api, weather, hackathon

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).
