I am creating Cypher query from my java program and passing that raw query to RedishGraph.Query() method. I am getting the following exception:
"com.redislabs.redisgraph.exceptions.JRedisGraphCompileTimeException: redis.clients.jedis.exceptions.JedisDataException: errMsg: Invalid input 's': expected DETACH DELETE, DELETE, DROP INDEX ON or DROP CONSTRAINT ON line: 1, column: 2, offset: 1 errCtx: dsspfnSpouseFname=" errCtxOffset: 1"
When I try to execute the same raw query in CLI/Redis Insight, successfully executing without any errors. Can some one help me what exactly this exception refers to.
Using Redis 5.0.6 version, JDK 11 and jredisgraph 2.0.2 version.