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 / A potentially dangerou...
Power Automate
Answered

A potentially dangerous Request.Path value was detected from the client (?) when create file on onedriver

(1) ShareShare
ReportReport
Posted on by 47

I'm new guy on power automate. 

I want list folder from sharepoint, then use for each connector to get file content, finally create file to One driver.  

i encountered below error when create file .  not sure what's reason.  thanks
{
"status": 401,
"message": "A potentially dangerous Request.Path value was detected from the client (?).",
"source": "api.connectorp.svc.ms"
}

 

shinydeng_0-1713943453690.png

 

Categories:
I have the same question (0)
  • Verified answer
    TuongDoan Profile Picture
    573 Moderator on at

    What do you have in that Compose action?

     

    You are getting that error because the file content contain some suspicious data, which can be used for a cross site scripting attack.

     

    You can look for alternative solution like create file via Graph API: https://learn.microsoft.com/en-us/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http#http-request-to-upload-a-new-file

     

     

    ---------------------------

    If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs up would be a great compliment!

  • Suggested answer
    SA-25070913-0 Profile Picture
    2 on at
    In realtà il problema è che hai usato la create file di one drive (icona blu) anziché la create file di sharepoint (icona verde) di conseguenza non ti accetta il percorso della folder di sharepoint

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard