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 III
Dual Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (56,968)