Error to open image/pdf after downloading

i have created dynamics image using dynamic component extension and add a button to download the image, after successfully downloaded of image when i open directly from notification its show error(unsupported file or media not found) but after when i open my phone gallery the file is there, why i can’t open the image from notification after downloading it…
Also adding block images & proper video for reference