Were you able to find the cause of this? Facing a similar issue, face this error sometimes and on rerun of the apoc.export.cypher.query get the same error but with a different node. But it generally gets resolved by restarting neo4j.
Using neo4j 4.2....