java - Neo4J REST API Call Error - Error reading as JSON '' -
this newo4j rest api call related error - java code i'm making rest api call remote neo4j database passing query , parameters, query being executed below
*merge (s:sequence {name:'commentsequence'}) on create set s.current = 1 on match set s.current=s.current+1 s.current sequencecounter merge (cmnt01:comment {text: {text}, datetime:{datetime}, type:{type}}) set cmnt01.id = sequencecounter cmnt01 match (g:game {game_id:{gameid}}),(b:block {block_id:{bid}, game_id:{gameid}}),(u:user {email_id:{emailid}}) merge (b)-[:comment]->(cmnt01)<-[:comment]-(u)*
basically query generating sequence number @ run time , sets 'commentid' property of comment node sequence number before attaching comment node game's block i.e. every comment added user i'm adding sequence number it's id.
this working 90% of cases there couple of cases in day when fails below error
error com.exectestret.dao.basegraphdao - query execution error:**error reading json ''**
why neo4j query not return proper error code ? says error reading json ''.
neo4j version
neo4j community edition 2.2.1
thanks, deepesh
it gets html , can't read json, should output failure html can check log output , share too?
also check graph.db/messages.log
, data/log/console.log
error messages.
Comments
Post a Comment