Hi,
Hi,
I've got an app builded in Power App connected with a flow wich is sending e-mail notifications. The problem with a flow is regarding adding images to an e-mail as attachment. From power app I'm giving a path with a file name - this string is used in flow in connector OneDrive - get file content using a path.
So when I'm using this app and making an action the flow is endig succesful but when different user is making the same action in the app the flow is stoping in this step "Get file content using a path" with error 404 - Item not found. The user has an access to this folder and all files inside.
I think, I've tried everything... I've even gave the user flow owner permissions but it didn't help. Any ideas?
I suppose the problem is with the path but I don't know how to fix it.
Solved! Go to Solution.
Hi @sulrik
Can you please share a screenshot of the flow configuration? Also, is this other user a run-only user or a co-owner of the flow?
I see that you are moving an image from flwo to one drive and then adding as ann attachment, if you do not need the file later on, you might want to directly add that as an attachment based on the content.
Also, please see this article where I have shown passing data from PowerApps (images too) and create files on SharePoint using the JSON function in Canvas Apps.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi,
"Configuration of the flow" - you mean schema or settings?
I've try with run-only user and with a co-owner - the same issue. The process look's like this:
The attachments content is taken from step before "Get file content using a path" - the path is configured with "Ask in Power apps" - in power apps in the trigger I'm giving this path - it's a path to the folder with images + image file name with extention
Thank you for this article, but whole process is based on one drive and this is onle small part of this project so rebuilding this to SherPoint will be a long and complicated process
Hi @sulrik
Hi @yashag2255
the path is for sure correct because when I'm using the app the flow is ending succesful the error occurse only when other users are filling the form. The best thing is that whole process in power apps is working perfect (the form is saved and also the image is saved) but the flow stops in this point.
Hi @sulrik
Where can I get this unique id?
When I set the path with file name I'm getting error 400 worng file id
Hi @yashag2255
thank you for explanation. As I said before, the whole app is based on onedrive, so I can't use SharePoint list (meaybe I will change it, if tehre will be more time). So I decided that I till Flow will not have this functionality I will send e-mails without shared images. Only link to the folder and that's all.
Thank you one more time for your help and for your time!
Best regards
sulrik
Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
User | Count |
---|---|
48 | |
11 | |
10 | |
10 | |
7 |
User | Count |
---|---|
75 | |
22 | |
14 | |
11 | |
11 |