-
Notifications
You must be signed in to change notification settings - Fork 36
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
Q:Is there a way to get better error messages from the API? #257
Comments
Hello @K41eb, 406 Not Acceptable is a response status defined in HTTP Protocol. It indicates that the server cannot produce a response that would match Accept headers in the HTTP request. Could you provide the HTTP request you're trying to make? |
I was trying to perform the request described in your documentqtion https://fairdatapoint.readthedocs.io/en/latest/usage/api-usage.html
but i had an extra header. This particular issue is fixed now, however I now get the following error:
|
What exactly is in the |
I was trying things with my own SHACL shapes and turtle files but that was probably not the best approach, sorry for wasting your time. I am now trying to create a catalog before the dataset, sometimes I get the SHACL validation errors (I can work with these, all is good on that front), and sometimes I get messages such as
I'm having trouble idnetifying what the issue is. And the DCAT documentation isn't helping either. Would you mind sharing your valid catalog and dataset files and api calls? |
The Question
Here's a sample error message from the API:
The request was obvisouly rejected. My question is: what is not accpetable in my request?
I can only assume that it's a SHACL validation issue, but the API provides 0 details.
The text was updated successfully, but these errors were encountered: