The function ‘Patch’ has some invalid arguments.
When you add a new datasource into your Power App, then setup a Patch function towards this datasource and get this
The function ‘Patch’ has some invalid arguments.
It could be caused by your datasource do not have a valid primary key. It will not happen on SharePoint or Dataverse datasource because primary key is automatically setup for you. However this error may occur on MS SQL Server.