• Resolved macyven

    (@macyven)


    Hi

    I have a 401 error when I use my API Key.
    The key was made yesterday an should work by now?

    Is there an issue with Open Weather?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Uwe Jacobs

    (@uwejacobs)

    Hi

    The 401 error that OWM Weather reports comes from openweathermap.com. Either the API key is not yet active or is misspelled in the options. I assume it’s not activated though.
    You could try without the key (which uses a built-in key from a dummy account) for a day or two and then try your newly generated key again.

    Plugin Author Uwe Jacobs

    (@uwejacobs)

    Come to find out that OpenWeatherMap now requires new users to sign up for the OneCall API after creating the API key. Unfortunately, this requires a credit card but they still provide 1,000 free API calls. Users who created their API key before this change are still able to use the OneCall API without this additional signup.

    Here’s how to get the 1,000 free calls without overrunning:

    – Go to https://home.openweathermap.org/subscriptions/billing_info/onecall_30/base?key=base&service=onecall_30
    – Follow the instructions to complete the subscription.
    – Go to https://home.openweathermap.org/subscriptions and set the “Calls per day (no more than)” to 1,000. This ensures you will never overrun the free calls.

    Hope this helps.

    Thread Starter macyven

    (@macyven)

    Hi

    That did the trick. Thanks.

    Plugin Author Uwe Jacobs

    (@uwejacobs)

    Thanks for your confirmation. I am going to update the installation documentation next.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘401 error with API Key’ is closed to new replies.