Hi All,
I am trying to use Power apps to collect submissions from user which includes multiple attachment and other text records.
I am using the below flow and Patch formulae but running into an error:

Set(
var12,
Patch(
'List',
Defaults('List'),
{ProjectName: PRName.Text},
{ProposedDate: Date.SelectedDate},
{ProjectType: DDPRType.Selected.Value}
)
);
Reset(PRName);
ForAll(
Attachment.Attachments As Document,
PowerAppsToSharepoint.Run(
{
file: {
contentBytes: Document.Value,
name: Document.Name
},
number: var12.ID
}
)
);
Notify("Thank you for submission");
Reset(Attachment)
Using this flow , I got an error saying ; Invalid Number of Argument Received 1; Expected 2 or 3 .
Also, I am unsure if the list ID I got in the flow is correct? I followed a video to achieve this.
Could I please get assistance?