https://github.com/neo4j/community/issues/13
Cheers, Aseem On Wed, Sep 7, 2011 at 11:57 AM, Aseem Kishore <[email protected]>wrote: > Sure, Peter. Sorry I haven't done this yet for other issues I've reported! > > Aseem > > > On Wed, Sep 7, 2011 at 11:42 AM, Peter Neubauer < > [email protected]> wrote: > >> Aseem, >> >> do you care to raise an issue at >> >> https://github.com/neo4j/community/issues?sort=created&direction=desc&state=openfor >> this? I understand - this sounds valid. >> >> Cheers, >> >> /peter neubauer >> >> GTalk: neubauer.peter >> Skype peter.neubauer >> Phone +46 704 106975 >> LinkedIn http://www.linkedin.com/in/neubauer >> Twitter http://twitter.com/peterneubauer >> >> http://www.neo4j.org - Your high performance graph >> database. >> http://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >> >> >> On Wed, Sep 7, 2011 at 8:00 PM, Aseem Kishore <[email protected] >> >wrote: >> >> > Hey Peter, sorry for not being totally clear. It should indeed be an >> *HTTP* >> > error, e.g. 400 or whatever. The problem is that the *body* is HTML when >> it >> > should be JSON. That is, you should see a bunch of HTML tags in the >> body, >> > instead of a simple {error: ..., stacktrace: ...} object. >> > >> > Cheers, >> > Aseem >> > >> > On Wed, Sep 7, 2011 at 7:12 AM, Peter Neubauer < >> > [email protected]> wrote: >> > >> > > Aseem, >> > > is this still relevant? I get the HTTP error with >> > > >> > > POST /db/data/ext/CypherPlugin/graphdb/execute_query {"query": "START >> > > n=(0) RETURN n.foobar"} >> > > >> > > Cheers, >> > > >> > > /peter neubauer >> > > >> > > GTalk: neubauer.peter >> > > Skype peter.neubauer >> > > Phone +46 704 106975 >> > > LinkedIn http://www.linkedin.com/in/neubauer >> > > Twitter http://twitter.com/peterneubauer >> > > >> > > http://www.neo4j.org - Your high performance graph >> > database. >> > > http://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. >> > > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing >> party. >> > > >> > > >> > > On Tue, Aug 30, 2011 at 7:59 AM, Aseem Kishore < >> [email protected] >> > > >wrote: >> > > >> > > > 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 >> > > > >> > > _______________________________________________ >> > > Neo4j mailing list >> > > [email protected] >> > > https://lists.neo4j.org/mailman/listinfo/user >> > > >> > _______________________________________________ >> > Neo4j mailing list >> > [email protected] >> > https://lists.neo4j.org/mailman/listinfo/user >> > >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

