Join 11000+ Happy Users Who Use Location Weather to Show Weather Forecasts

  1. Home
  2. Docs
  3. Troubleshooting
  4. Why do I get a “401 Invalid API Key” error?

Why do I get a “401 Invalid API Key” error?

You may get the error 401 in the following cases:

  • You did not specify your API key in the API request.
  • Your API key is not activated yet. Within the next couple of hours, it will be activated and ready to use.
  • You are using the wrong API key in the API request. Please check the right API key in your personal account.
  • You are using a Free subscription and try requesting data available in other subscriptions. For example, 16 days/daily forecast API, historical weather dataWeather maps 2.0, etc). Please, check your subscription in your personal account.
Updated on November 15, 2023