apoc.cypher.runFiles not working without any error message

I am trying to use apoc.cypher.runFile:

but as in the screenshot above, it runs instantly with no outcome. If I manually type in the queries used in the files, it looks ok.

I had no problems with apoc.cypher.runFiles() in the past. What could cause this? Is there an alternative to this function?

  • neo4j version: 5.12, desktop version:1.5.9

Hello! There are a couple of things to try....

  1. Are you running schema updates in the Cypher file? These will be silently skipped.
  2. Even if no errors are showing, could you try setting the config: reportError: true to double check?
  3. Could you try with a file for each statement separately?

Let me know how these go!