Closed antoine2711 closed 1 year ago
From the console log it seems the query didn't return a valid json string.
Exception::{}com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
Am looking into it
@antoine2711 The correct enpoint has to be provided which is http://kg.artsdata.ca/query
not http://kg.artsdata.ca/sparql/
http://kg.artsdata.ca/sparql/
is used by the provided YASGUI user interface while remote sparql clients use http://kg.artsdata.ca/query
@antoine2711 The correct enpoint has to be provided which is
http://kg.artsdata.ca/query
nothttp://kg.artsdata.ca/sparql/
http://kg.artsdata.ca/sparql/
is used by the provided YASGUI user interface while remote sparql clients usehttp://kg.artsdata.ca/query
Oups. Good catch. Thanks. Antoine
But still @WaltonG, we could improve the error message.
A.
@antoine2711 Since an error can be caused by any type exception I think a generalised error message Unable to parse preview
is ideal rather than displaying the backend error message. Any suggestions ?
Description of the problem
End-point:
http://kg.artsdata.ca/sparql/
This will trigger an error: « Unable to parse preview ».