neosemantics icon indicating copy to clipboard operation
neosemantics copied to clipboard

/rdf/cypher endpoint: When missing required parameter in request, NPE is thrown instead of meaningful error message

Open jbarrasa opened this issue 5 years ago • 0 comments

To reproduce, run a request to the rdf/cypher endpoint with wrong fields (cypher_wrong instead of cypher). Example :

curl http://localhost:7474/rdf/cypher -d '{ "cypher_wrong": "MATCH path = ()-[:BY]->()<-[:BY]-() RETURN path LIMIT 1"}' --header "Authorization:Basic ..."

Throws a 500 with an NPE

jbarrasa avatar Nov 22 '19 12:11 jbarrasa