dr-leo / pandaSDMX

Python interface to SDMX
Apache License 2.0
128 stars 60 forks source link

Error while invoking datastructure #252

Open agnibhu13 opened 11 months ago

agnibhu13 commented 11 months ago

I am following the examples from: https://pandasdmx.readthedocs.io/en/v1.0/example.html

Then encountered this error. Python 3.12.1 pandasdmx-1.6.0

estat = sdmx.Request('ESTAT') metadata = estat.datastructure('UNE_RT_A') Traceback (most recent call last): File "<pyshell#3>", line 1, in metadata = estat.datastructure('UNE_RT_A') File "C:\Users\deepu\AppData\Local\Programs\Python\Python312\Lib\site-packages\pandasdmx\api.py", line 440, in get response.raise_for_status() File "C:\Users\deepu\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: for url: https://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/UNE_RT_A/latest?references=all