'Run Cypher file present in S3 using apoc.cypher.runFile
I am trying to run call apoc.cypher.runFile(""), but it returns Failed to invoke procedure apoc.cypher.runFile: Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: (my presigned url for the s3 file)
I want to know if it is possible to import cypher scripts stored in the s3 bucket, by using the presigned url and the apoc.cypher.runFile stored procedure.
Please help!! TIA.
Solution 1:[1]
Based on this documentation below, you need to add this in your config and restart the server.
We can enable reading files from anywhere on the file system by setting the following property in apoc.conf:
apoc.import.file.use_neo4j_config=false
Ref: https://neo4j.com/labs/apoc/4.4/overview/apoc.cypher/apoc.cypher.runFile/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | jose_bacoy |
