Hey,
Just ran into an HTML error response which broke our error handling code
since it was expecting the body to be JSON. It seems to only happen with the
Cypher plugin. Here's a simple repro -- just paste this into the HTTP
console in the web admin:
POST /db/data/ext/CypherPlugin/graphdb/execute_query {"query": "START
n=(0) RETURN n.foobar"}
Assuming a node w/ ID 0 exists, and assuming it has no "foobar" property,
this should return an HTML error.
Let me know if my assumption here that errors should always be JSON is an
incorrect one! We've worked around this for now, but just reporting as a
bug.
Cheers,
Aseem
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user