Thanks Michael, it worked fine for me. -Sukaant Chaudhary
[image: linkedinbutton]<http://in.linkedin.com/pub/sukaant-chaudhary/33/ba8/479/> On Tue, Mar 4, 2014 at 2:16 PM, Michael Hunger < [email protected]> wrote: > use single quotes within the cypher statement or a parameter for > "PERMANENT" > > Am 04.03.2014 um 08:37 schrieb Sukaant Chaudhary < > [email protected]>: > > Hi, > I'm using following query and parameter: > { > "query": "START m=node({unode}) OPTIONAL MATCH > (m)-[r:FOLLOWED_BY|CREATED_BY|FOLLOW_PENDING]->(n)-[l:LOCATION]->(t) WITH > r, n, l, t WHERE has(n.timeBoardName) AND n.timeBoardName =~ {tbname} AND > has(l.locationType) AND l.locationType = "PERMANENT" RETURN r, n, t", > "params": { > "unode": 2, > "tbname": "(?i)e.*" > } > } > > I'm getting following error: > > SEVERE: The exception contained within MappableContainerException could > not be mapped to a response, re-throwing to the HTTP container > org.neo4j.server.rest.repr. > BadInputException: Unexpected character ('P' (code 80)): was expecting > comma to separate OBJECT entries > > Please help me to fix this, this query is working fine in the shell. > > -Sukaant Chaudhary > > <image002.jpg> <http://in.linkedin.com/pub/sukaant-chaudhary/33/ba8/479/> > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
<<inline: image002.jpg>>
