-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failure to retrieve schemas #171
Comments
Hi @tonyfujs. Thank you for reporting the issue.
This is a bug that used to affect the FMR but has been solved in version In the meantime, a workaround would be to use Fusion-JSON as format, instead of SDMX-JSON, as can be seen in the code snippet below. from pysdmx.api import fmr
imf = fmr.RegistryClient(
"https://sdmxcentral.imf.org/sdmx/v2/",
format=fmr.Format.FUSION_JSON
)
schema = imf.get_schema("datastructure", "IMF", "BOP", "2.3")
print(schema) I hope this helps but else, please reopen the issue. |
Thanks @sosna - Specifying the format indeed solved the issue with the IMF API. It did not solved it for our internal instance of FMR though. The error is no longer the same, but I am still getting an error (please see below). We are not using the most recent version of FMR, the version we currently have deployed internally is
|
No, I'm afraid the issue is different this time but it is easy to fix. I will reopen this ticket and will provide a fix later this week. |
Hello - I am trying to retrieve schemas using the
get_schema
method, but get a validation error. Please see the reproducible code chunk and screenshot of the error below:The text was updated successfully, but these errors were encountered: