OpenWeatherMap not working

Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner

I want to fetch the weather-related information for a location for which i am using the OpenWeatherMap plugin. I have followed all the instructions given in the plugin documentation. When i try to used the plugin, it gives me an error as attached.

can anyone help?


Operating system used: linux

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

Answers

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,253 Dataiker

    Hi @BhaskarDevGoel
    ,
    Is possible for you null/empty values in lat/long columns? Could please check?

    If the issues persist please reach out to support and share the job diagnostics.

    Job failed: Error in Python process: At line 116: <class 'exceptions.OpenWeatherMapAPIError'> [Errno None]
    None: 'None' More info about this error

    Thanks,

  • Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner

    Hi @AlexT

    The data has no null values. I check the logs and it is showing

    INFO Error in request (status code: 401)
    [08:37:32] [INFO] [dku.utils] - 2023-03-13 08:37:32,881 INFO Response: {"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."}

    But i have cross verified the API key and it is correct. Is there a possibility that i need to subscribe to a service before using the plugin?

  • Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner

    I want to extract the historic weather data (last 2 years) of a lat long

  • Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 7 Partner

    No actually i just create an account on OWM and generate the API key. I have not subscribed to any service yet

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.