Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of SDMX error codes #419

Open
charphi opened this issue Feb 23, 2023 · 1 comment
Open

Add support of SDMX error codes #419

charphi opened this issue Feb 23, 2023 · 1 comment
Labels
enhancement New feature or request PROVIDER

Comments

@charphi
Copy link
Member

charphi commented Feb 23, 2023

Example:
https://registry.sdmx.org/ws/rest/data/ESTAT%2CNAMAIN_IDC_N%2C1.10/A.N.AL.W0.S1.S1.D.P3._Z._Z._T.XDC.LR.N/all

HTTP response code: 404
HTTP response body:

<?xml version="1.0" encoding="UTF-8"?>
<mes:Error xsi:schemaLocation="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message https://registry.sdmx.org/schemas/v2_1/SDMXMessage.xsd" xmlns:mes="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<mes:ErrorMessage code="100">
		<com:Text xmlns:com="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common">No data for dataflow: urn:sdmx:org.sdmx.infomodel.datastructure.Dataflow=ESTAT:NAMAIN_IDC_N(1.10)</com:Text>
	</mes:ErrorMessage>
</mes:Error>
@charphi charphi added enhancement New feature or request PROVIDER labels Feb 23, 2023
@charphi
Copy link
Member Author

charphi commented Feb 24, 2023

First step in 160c327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PROVIDER
Projects
None yet
Development

No branches or pull requests

1 participant