“The documents download from my PowerApps application stopped working, it now returns only BlobNotFound error!”
If you work with files in a PowerApps app, the attachments control from SP forms might to be the most common approach. You get a control that’ll allow you to add, remove, and download files, all without much extra effort.
But lately this control seems to have problems when downloading the files. You click on the attachment and get an error – BlobNotFound. “The specified blob does not exist”.
Why, and how do you make it work again?
What’s the problem?
The problem seems to be related to a new formula bar. In the past the attachments control allowed you to define what it will display and what’s behind it. Show the file name and when you click on it download the file using path.
Now it sets the ‘on click’ value to Id instead of the file uri.
That’s not really something you can download…
What’s the fix
But if you’re using the new formula bar this option isn’t even visible, making it unfixable. To fix the problem you must enable the retired feature ‘Legacy formula bar’. Set it to On, save the app, and reopen it.
Now, if you select the attachments control, you’ll see the Name / Value settings for the Items as on the screenshot above. Change the Value to AbsoluteUri. Do a test run of the app and try to download the attachments.
That’ll fix the problem. Publish the app and the attachments will be downloadable again. And if it doesn’t help you can always replace the attachments view mode with a gallery.
Summary
If your PowerApps app is giving you the BlobNotFound error instead of downloading the documents, you might have to go to the old formula bar. Or you can replace the control view mode with a gallery. Add a gallery, build the link to each of the files, and download it from their using a custom clickable control.