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 Automate
Answered

Full Path Incorrect

(0) ShareShare
ReportReport
Posted on by 5

I am trying to get the full path of the SharePoint trigger 'When a item or a file is modified'  but the full path that SharePoint pulls ends with '5_.000' instead of the actual item path. I need it for when I call an HTTP request that moves that item into a folder within the list, so every time it runs I get the error:

 

"The expression "Web/getFileByServerRelativeURL('/sites/ITMIS/Lists/IT Ticket Tracker/5_.000')/moveTo(newurl='/sites/ITMIS/Lists/IT Ticket Tracker/Completed Tickets/5_.000'flags=1)" is not valid."

 

Is there a reason why the full path is coming up like that? Below is my flow and the full path I am getting

 

Power Automate FlowPower Automate FlowFull Path ComposeFull Path Compose

 

 

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @brycen 

    Could you try to encode the Full path value using encodeURIComponent function?

    Apart from that, you need a colon between URL and flags value in moveTo function (I also replace blank spaces by %20):

    Web/getFileByServerRelativeURL('/sites/ITMIS/Lists/IT%20Ticket Tracker/5_.000')/moveTo(newurl='/sites/ITMIS/Lists/IT%20Ticket Tracker/Completed Tickets/5_.000',flags=1)

    Hope it helps!

    Ferran

  • brycen Profile Picture
    5 on at

    That worked! Thank you @fchopo 

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 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard