Hi everyone,
I'm currently building an upload dialogue inside my PowerApp. The goal is, that the user selects a file and uploads it to a SP library (done via a flow) and if the flow is completed, the app should notify the user. I got it to work with the image upload control.
But now I got the instruction, that the users not only need to upload images, but also other file types like pdf, videos etc. So I changed the image upload control to an attachment control like in formulas and swapped the name of the image control to the attachment control in my function. But it now throws an error saying "The column "file.contentBytes" in the data source expects type "blob" but you are providing type "table". I don't really get what type blob is or why it doesn't work with the attachments control, but does with the image control. Also, I did stick to the video about uploading by Reza Dorrani (https://www.youtube.com/watch?v=QUwzvUXgj58) and even if I delete the function and re-add it exactly like he did, it is still the same.
I'll show you some screenshots:

That's what it is like with the old image control. ⬆️

An here it is using the attachment control. ⬆️
Even if I delete the if statement and the notify function, the error is still the same.
What am I doing wrong here? And what do I do, if I want more than one file to be uploaded? I saw a solution with a ForAll function, but I'm not sure how to connect that with notifying the user.