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.
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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,765)