web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get file content using...
Power Automate
Unanswered

Get file content using path error- A potentially dangerous Request.Path value was detected from the client (?).

(0) ShareShare
ReportReport
Posted on by

Dear community,

 

I am getting the above error when i pass in onedrive sharelink which contain '?'. I try using the UriComponent function to encode the URL but i get another error - Resource Not Found.

 

The question mark in the URL is because of the onedrive sharing policy we cannot use anyone link. The remaining option will generate the ? in the link.

 

How can i properly convert the URL so it accepted by the onedrive for business connector?

 

Thanks in advanced. 

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Voon ,

     

    In Get file content using path action, the file path is not a link, it should be the path of the file:

    vjefferni_0-1708939162997.png

    /folder1/folder2/.../filename

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard