Export CSV to S3 fails with "No such file or directory"

I've been trying to Export to S3 with the multiple options presented in APOC Export CSV docs like:


Example :

CALL apoc.export.csv.query(
    "MATCH (a:Person)  RETURN a.name",

All the URL formats fail with following error:

Failed to invoke procedure `apoc.export.csv.query`: Caused by: java.io.FileNotFoundException:  (No such file or directory)

Is there something I'm missing here?
I couldn't find any details except for the linked doc about Exporting to S3 in the Neo4j Community/Github Repos/Google.

Neo4j Version: Neo4j Community Server 4.2.1

Does the IAM user have write and read permission on the bucket ?

Yes, I'm able to write to the bucket using awscli.
I was more concerned about the S3 URL formation. Since that is one of the differences between the query and the awscli.

Hi, I have the same problem. Were you able to solve? If so, in what way?