Comments (4)
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?
from fairdatapoint.
I was trying to perform the request described in your documentqtion https://fairdatapoint.readthedocs.io/en/latest/usage/api-usage.html
curl -H "Authorization: Bearer efIobn394nvJJFJ30..." \
-H "Content-Type: text/turtle" \
-d @metadata.ttl https://fdp.example.com/dataset
but i had an extra header. This particular issue is fixed now, however I now get the following error:
data: {
timestamp: 1646830055192,
status: 400,
error: 'Bad Request',
message: 'Validation failed (no rdf:type was provided)'
}
from fairdatapoint.
What exactly is in the metadata.ttl
file you're sending to FDP? I've just tried that with the one provided in the documentation page where I only change URI in dct:isPartOf
to be an existing catalog and it worked.
from fairdatapoint.
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 Not parent uri
for the following ttl:
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<> a dcat:Catalog ;
dct:title "test" ;
dct:hasVersion "1.0" ;
dct:publisher [ a foaf:Agent ; foaf:name "Example User" ] .
I'm having trouble idnetifying what the issue is. And the DCAT documentation isn't helping either.
https://www.w3.org/TR/vocab-dcat-2/
Would you mind sharing your valid catalog and dataset files and api calls?
from fairdatapoint.
Related Issues (20)
- Q: I keep getting the error "No metadata found for the uri '<client uri>'" and don't know how to proceed HOT 2
- Q: Changing SPARQL query HOT 1
- Q: Question about dcat:theme and dcat:themeTaxonomy HOT 2
- Unable to write to FDP - time parsing problem HOT 5
- Fresh install cannot delete Catalog HOT 2
- Creating and updating metadata schemas: HOT 3
- Q: Can't modify metadata through FDP-web-UI when Dgraphdb.external-url is set
- Q: How to ensure that same record/object will receive same FDP UUID HOT 3
- Fields "Metadata Issued" and "Metadata Modified" are always set to today. HOT 3
- Q: How to list all datasets without having to go through each catalog ? HOT 1
- SPARQL interface from FDP web client not displaying the correct results
- Q: Could you provide an example on how to use the /search endpoint?
- dash:EnumSelectEditor converts IRIs to strings HOT 1
- please add boolean support HOT 1
- Unable to connect to mongo while running from docker-compose. HOT 4
- Q: error on startup HOT 3
- Q: How to get the list of entries from an FDP running as an index HOT 4
- Support sh:class constraints for SHACL validation.
- Connecting EJP RD issues and FAIR Data Team issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fairdatapoint.