Hi,
need help for File attachment to Share point document library from power apps. I have 2 separate attachment control in power apps to attach the file.
when I'm attaching the file for both the attachment control its working fine, but when attaching the file for one and another one leaving blank is getting an error as Invalid type. Expected string but got Null
using below code
Test_upload.Run(
{
file: {
name: Coalesce(First(Attachment_1.Attachments).Name, " "),
contentBytes: Coalesce(First(Attachment_1.Attachments).Value," ")
},
file_1: {
name: Coalesce(First(Attachment_2.Attachments).Name, " "),
contentBytes: Coalesce(First(Attachment_2.Attachments).Value," ")
}
}
);


@mdevaney please see if you can help on this