cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pheil
Frequent Visitor

Flow for PowerApp returns 404 for users

I have a simple flow that receives a request from PowerApps that checks if a file exists on my OneDrive and returns the file content if it does.  When I run the flow (Through PowerApps) it works fine, when users try it fails with:

 

{
"status": 404,
"message": "Item not found",
"source": "api.connectorp.svc.ms"
}
 
I've shared the whole directory with the users and when they open a direct link they can view the file. Why does Flow not show the same thing?
4 REPLIES 4
Pstork1
Dual Super User
Dual Super User

Have you shared the folder being searched for the file by the flow with the other users who are running the Flow?  If they don't have permission to the folder then they won't be able to see the folder or file and will get a 404.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

pheil
Frequent Visitor

Yes, I have shared it.  Here's a sample path "/PowerApps/Worksheets/99156.json"  All users have read access to "Worksheets".  When I run "Check Permissions" in OneDrive it confirms they have read access.

v-alzhan-msft
Community Support
Community Support

Hi @pheil ,

 

Could you please share a screenshot of the configuration of your flow?

 

Best regards,

Alice       

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

Sure, see below.  The "Getfilecontent" variable is a text value as seen in my previous message.

Annotation 2020-01-30 075912.png

 

What makes this even weirder is I have another flow that creates a file in a directory and users are able to run that.  Permissions for that directory are "Edit, Contribute, Read".

Annotation 2020-01-30 080423.png

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (1,665)