Hi Team,
Can anyone help me with setting up my flow properly? I need to create a flow wherein I can automatically download an excel file from a sharepoint site and save it to my local within a certain schedule (e.g. Every monday I want the excel file in sharepoint to be automatically downloaded in my local storage.
I have created a flow right now using a manual trigger (I have not set up the scheduling part yet), but I am having issues with the saving of the excel file.
My flow goes like this:
Manual trigger > Initialize variable (for file name increment) > Get file content (sharepoint) > Create file (file system) > Increment variable
Once I get to the create file action, I get an error saying that my credentials are not valid. I am not sure why as I believe I have setup my connection properly.


See connection screenshot here. I even have the gateway already installed:


When I run the test and input a directory in the folder path, I get an error saying this:
"The credentials for this connection do not have access to 'C:/Users/acalma2/Desktop/Forms_1', please try using a different location or account.\r\nclientRequestId: 2d1c2c27-7576-446a-aa57-a2351242b1d8"
I am absolutely sure about my credentials, I even tried it multiple times but it still is not working from my end. Can anyone please help me? I need this urgently.