I've got a rather long cypher query,
MATCH (l:Lease {id: $leaseID})
MATCH (o:Operator {id: $operatorID})
WITH l as lease, o as operator, $LeaseLandInfo as interest
MERGE (lease)-[r:ASSIGNEE {id: randomUUID(), acres: interest.amount, volPage: interest.volPage, book: interest.book, effectiveDate: interest.effectiveDate, dateFiled: interest.dateFiled, docType: interest.docType, grantor: interest.grantor, grantee: interest.grantee, total: interest.total, comments: interest.comments, wellsDrilled: interest.wellsDrilled, assignment: interest.assignment, workingInterest: interest.workingInterest, ORRI: interest.ORRI}]->(operator)
WITH operator, lease, interest
UNWIND $landIDs as landID
WHERE landID.acres is not null
MATCH (t:Tract {id: landID.TractID})
MERGE (operator)-[:ASSIGNMENT_INTEREST {id: randomUUID(), workintInterest: interest.workingInterest, ORRI: interest.ORRI, acres: landID.acres}]->(t)
RETURN lease
I'm trying to execute the last part of the query only if acres is not null. The error I'm getting is:
"message": "Failed to invoke procedure `apoc.cypher.doIt`: Caused by: org.opencypher.v9_0.util.SyntaxException: Invalid input 'h': expected 'i/I' (line 1, column 837 (offset: 836))",
Any push in the right direction would be appreciated.