Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Destination Folder Is uriEncoded, Request Ignores It, Does What It Wants?

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to copy a newly created file from one Sharepoint library to another. I'm a site owner on both sites. I have an expression that finds the folder name on the new site and then URI-Encodes it. When I run it, it fails.

Here is the full expression:

uriComponent(concat('Patient Records and Data',replace(variables('folderPath'),'Shared Documents/CompanyName','')))

But here is the perplexing part:

The "Destination Folder" Input for the failed request reads perfectly encoded (ie. folder%20name%20good )

wesborland1234_1-1593525616708.png

 

But the error message is "Failed to verify the existence of destination location https://site.sharepoint.com/folder name good"

wesborland1234_2-1593525671991.png

 

Other than the spaces the names are right, I can copy and paste the destination link into a new tab and it works.

 

Anyone ever have this problem before?

 

  • Community Power Platform Member Profile Picture
    on at
    Re: converRe: Destination Folder Is uriEncoded, Request Ignores It, Does What It Wants?

    That doesn't work for me. Thanks for trying to help though. Here is the full flow I am doing (maybe the problem is in a step leading up to it?):

    wesborland1234_0-1593800927742.png

    wesborland1234_1-1593801021770.png

     

  • v-litu-msft Profile Picture
    on at
    Re: converRe: Destination Folder Is uriEncoded, Request Ignores It, Does What It Wants?

    Hi @Anonymous,

     

    I tried again and I find that if there has an addition "/" at the beginning of the folder path, it won't work.

    But if I remove it, it could work.

    For example "/Shared Documents/NewChannel" conldn't work, but "Shared Documents/NewChannel" could work:

    Annotation 2020-07-02 155231.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.

  • Community Power Platform Member Profile Picture
    on at
    converRe: Destination Folder Is uriEncoded, Request Ignores It, Does What It Wants?

    Thank you, But it does not work when you don't convert it either. Just gives the same error. And if you copy and paste the failed URL into a browser it brings you right to the folder so I know it's there, and I have permissions to it.

  • v-litu-msft Profile Picture
    on at
    Re: Destination Folder Is uriEncoded, Request Ignores It, Does What It Wants?

    Hi @Anonymous,

     

    Have you tried not to convert the folder path into URI code? For example as below:

    Annotation 2020-07-01 140311.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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1