No valid data-file found

Hello,

I apologize for the translation from French to English :slight_smile:

First, I would like to sincerely thank the founder of pws-dashboard, which I use for my father’s weather station in France.
Thank you very much for all the work done by the community.

I’m having a problem displaying current weather conditions.
I’m using the CheckWX Metar API KEYet for Lyon LFLL Airport.
I’m getting an error message: “No valid data-file found.”

The metar34LFLL.txt file is registered in pws12\jsondata
I can’t understand why I’m getting this error message, and I’m a bit lost…

The site : https://meteo-morestel.fr
pws : Morestel La Bichonnière 38510 (France) Home Weather Station (wu version)

Can I get some help, please?

Thanks,

Alex

Hi alex,

Thanks for your nice words

The SkyBlock displays two parts:

  1. the current weather conditions from your Metar
  2. a one hour forecast from your weather-forecast

Please check your settings, only you can see them.
You seem to have selected / tested for a DarkSky/Openweather forecast.
The load files script tries to load a DarkSky/Openweather forecast, but it fails

PWS_load_files.php (502) Darksky_______: time spent: 0.3992 - 
PROBLEM => http_code: 500, no valid data 
https://meteo-morestel.fr/pws12/PWS_Dark_Openweather.php?lang=fr-fr

edit 2025-03-24
This is the error message returned from OpenWeather

invalid API key. Please see https://openweathermap.org/faq#error401 for more info.

This is the info on the Openweather website:

You can get the error 401 in the following cases:


Please enter the texts as in the screenshot in PWS_easyweathersetup.php
That should solve it.
If you want to use Openweather data, you have to obtain correct Api-keys a.s.o.
And you have to test it
If the problem persist, sent me a forum message/e-mail with your easyweather password, I can than check myself.

Succes,
Wim

1 Like

Hi Wim,

Thank you very much for this analysis, it’s appreciated!

In my settings EasyWeatherSetup, I correctly entered the API and selected OpenWeatherMap (I’ll send you my password if you’d like to take a look)

On OpenWeatherMap, I have 3 APIs with a free plan.

To test the 401 error, I went to the OpenWeatherMap site to test the following 3 requests with the 3 APIs I have available:

https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API key}

The result is OK for all 3 APIs.

I can’t put more media in my answer, I’m limited to 1 only :

I will send you my password by private message/email.

I couldn’t find a way to send you my password, I apologize.
Edit : it’s ok i found the way :slight_smile:

Thanks again Wim,

Alex.

Open Weather map needs the 3.0 API key since a few months.
Thew 2.5 is no longer active.

I am out on vacation until April 2 and without a decent computer, only an iPad.
So I can not help you further until then.


See topic / answers

Succes,
Wim

1 Like