cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

[Sahrepoint] Get file properites 404 file not found

Hello,

 

i have problem with flow that use connector get file properties. 

I have (at least) one person in my company for who this step  almost always will failure.

 

 

I share this flow with him by run only users but if he recreate this flow by himself (from zero) error is that same so...

We was checking if this is not problem with sharepoint site by trying on diffrent one. 

 

Configuration of the flow:

config.pngwhole.pngerrorConnector.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: [Sahrepoint] Get file properites 404 file not found

 

 

If you need any help with the workaround, just ask.

 

Best Regards,

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

View solution in original post

7 REPLIES 7
Highlighted
Super User
Super User

Re: [Sahrepoint] Get file properites 404 file not found

Hi @ketyas 

 

Is this error happening for newly created files?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
New Member

Re: [Sahrepoint] Get file properites 404 file not found

No its for all type of files. Actually yesterday i find out that problem is with "For Selected File" because it doesn't return fileID (or ID).

Its returning file name but not id....

 

 
 
Highlighted
Community Support
Community Support

Re: [Sahrepoint] Get file properites 404 file not found

 

Hi @ketyas ,

 

Please make sure that the Site Address and Library Name configured in the trigger and Get file properties action are the same.

When testing, please select a new file from Library to trigger Flow and see if a similar issue still exists.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: [Sahrepoint] Get file properites 404 file not found

Just try, didn't help. As i mention before this is problem with "For Selected Item" connector. 

We also was trying on different SharePoint site.

 

That how looks body of wrong Selected Item:

{
  "text": "sd", <<- comment from trigger
  "entity": {
    "filePath": "/new/tymczasowy BI.xlsx",
    "fileUrl": "thereIsFileURL"
  }
}

 

And that is how looks body of proper trigger:

{
  "text": "sss",
  "entity": {
    "ID": 533,
    "itemURL": "thisIfFileURL",
    "fileName": "fileNameWithExtension",
    "FileId": "533"
  }
}

 

Highlighted
Community Support
Community Support

Re: [Sahrepoint] Get file properites 404 file not found

 

Hi @ketyas ,

 

Have you tried to create a new flow?

 

Or you could use Get file metadata using path to get the file identifier or ID first since that you could get the file path.

 

I have made a test on my side and I can get the correct ID from this trigger.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: [Sahrepoint] Get file properites 404 file not found

Is i was trying to create new flow (with only two steps). I was creating own flow and share with this user and then user create his own flow.

 

With both cases same result.

For me and others users this flow works fine, but for this one... 

 

Anyway i'm right now creating workaround to get fileID by Get Files (Properties only) and file name from trigger.

Highlighted
Community Support
Community Support

Re: [Sahrepoint] Get file properites 404 file not found

 

 

If you need any help with the workaround, just ask.

 

Best Regards,

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

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,226)