Reputation: 736
I am getting the following error while trying to execute Cypher from the Java API:
org.neo4j.cypher.SyntaxException: Invalid input ')': expected whitespace, comment, '.', node labels, '[', "=~", IN, IS, '*', '/', '%', '^', '+', '-', '<', '>', "<=", ">=", '=', "<>", "!=", AND, XOR, OR, ',' or '}' (line 1, column 46)
"MERGE (n:C3CASEID {id: {id} , title: {title} ) RETURN n"
Unable to locate the error.
Upvotes: 1
Views: 428
Reputation: 736
Got it: missed the }
bracket.so it should be
MERGE (n:C3CASEID {id: {id} , title: {title}} )
RETURN n;
Upvotes: 2