Skip to main content

Notifications

Power Automate - Using Flows
Answered

File Not Found with create file in library

(0) ShareShare
ReportReport
Posted on by 170

Hi, 

 

I create a flow and it work fine most of time, but sometimes i got an error

flow.JPG

File Not Found

this is a little part of flow, everything very easy - Get attachment from Sharepoint item, create file to library and delete attachment. 

but now I got an error three times and the situation is strange

so:

1) flow got an error, but library show me that file was createdflow1.JPG

2) But... folder is empty when I open it. And when I would like to upload a file by hand...

MicrosoftTeams-image (15).png

 

So, when I restart a flow, it told me that file already created and please change a name.

 

I hope somebody already check this issue and can help me.

  • michaelmachete Profile Picture
    michaelmachete 3 on at
    Re: File Not Found with create file in library

    Thank you! this helped me solve the problem

  • ChanNT Profile Picture
    ChanNT 90 on at
    Re: File Not Found with create file in library

    Hi @Anonymous , do you find out the solution if the file name has # symbol?

  • Re: File Not Found with create file in library

    I have found an additional, perhaps more true source of this issue. Create File will not process filenames with the # (pound/hash) symbol. I have a flow that grabs emails and attachments, creates files from the names, and I have 100% failure rate on any message that includes a pound/hash symbol in the subject line/proposed filename. I will post my solution to avoid the error when found.

  • moraisaf Profile Picture
    moraisaf 8 on at
    Re: File Not Found with create file in library

    Hello @shnurich,

     

    I faced the same problem. You can also use a Compose with the "Body" of "Get attachments content" as input. Then use the output of the Compose as File Content in the next step. It worked for me.

     

    moraisaf_0-1661986092350.png

     

    Best Regards.

  • CU09100753-0 Profile Picture
    CU09100753-0 170 on at
    Re: File Not Found with create file in library

    thanks! I will test it

  • Verified answer
    v-litu-msft Profile Picture
    v-litu-msft on at
    Re: File Not Found with create file in library

    Hi @shnurich,

     

    I couldn't repeat the issue you met, I guess it is caused by the SharePoint service issue, some requests were lost, and create file failed. As a workaround, you could create a temporary folder to store the file, then use Move file action move them into the destination folder, because Move file action support set if another file is already there, it could cover the same name file:Screenshot 2021-04-08 111754.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard

Featured topics

Restore a deleted flow