Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

A reference was made to a file or folder which does not exist

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

I'm using an MS Flow to connect with sftp and create a file within a specified folder when a record is created within Dynamics. This record that will be created within Dynamics has a multiple line of text field which carries an XML body which is used to create file within sftp folder. Looks like everything is working, except for this error message which says the folder doesn't exist, the folder is available (I selected the folder path manually instead of typing the path). Also, the user account used to connect with sftp has complete access to that folder. Any help will be appreciated

 

 

 

{
"status": 404,
"message": "A reference was made to a file or folder which does not exist.\r\nclientRequestId: 2c52cef6-953b-4b3e-8dd1-d151ff730d0c",
"source": "sftp-eus2.azconn-eus2.p.azurewebsites.net"
}
  • aashishwarty Profile Picture
    aashishwarty 2 on at
    Re: A reference was made to a file or folder which does not exist

    Did you ever figure this out?

  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: A reference was made to a file or folder which does not exist

    Hi @RaviMuthyala,

     

    How do you connect to SFTP Server?

    If you are using WinSCP to connect to the SFTP Server from your local network, I assume that IP is already whitelisted for the port 22.

    When connecting from flow to your SFTP Server, please make sure the corresponding IP address is whitelisted for 22. Maybe flow is not able to reach the server on 22 port.

    Hope this could be a reference for you.

     

    Best regards,

    Mabel

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard