Getting "Write operations are not allowed for user 'neo4j' with roles [admin] restricted to READ" in exporting csv from cypher query

I am working to find Weakly connected component. the query works well but when I am going to write it in csv I am getting
Write operations are not allowed for user 'neo4j' with roles [admin] restricted to READ
My query was

call apoc.export.csv.query("call gds.wcc.stream('test_WCC')yield nodeId,componentId return gds.util.asNode(nodeId).ID as ID, componentId as componentId order by componentId" ,'test_WCC.csv',{batchsize:100000} )

my gds version is 1.1 apoc version 3.5.0.11 and neo4j version 3.5.15
the export query worked all the time for me bt I didnt get why the error is showing right now

apoc.export.file.enabled=true is configured in my neo4j.conf file

This is a strange error. I think we might need more logs from debug.log or something on the server side to figure this one out. Is there a stacktrace you see in the logs?