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

Error while posting radiometricTarget #28

Open
Dryocopus opened this issue Jul 7, 2020 · 0 comments
Open

Error while posting radiometricTarget #28

Dryocopus opened this issue Jul 7, 2020 · 0 comments

Comments

@Dryocopus
Copy link

I'm trying to load a radiometricTarget, but get an error:

Request:
[{"label": "TODO", "properties": [{"rdfType": "http://xmlns.com/foaf/0.1/Agent", "relation": "http://www.opensilex.org/vocabulary/oeso#hasContact", "value": "os-u:peter.roos"}]}]

Performing POST request...
URL used was: 'http://145.100.57.177:8666/rest/radiometricTargets'

Reponse:
Status code 500
{'status': 'INTERNAL_SERVER_ERROR', 'metadata': {'pagination': {'pageSize': 0, 'currentPage': 0, 'totalCount': 0, 'totalPages': 0}, 'status': [], 'datafiles': []}, 'result': {'title': 'Unexpected internal error - org.eclipse.rdf4j.repository.RepositoryException', 'message': '', 'stack': None, 'fullstack': None}}

When I set the rdfType to an empty string, the result is the same.

When I set the rdfType to null, it works, but the rdfType http://xmlns.com/foaf/0.1/Agent is suggested by the Swagger docs. It might be a documentation issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant