web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error with patch commando
Power Apps
Suggested Answer

Error with patch commando

(1) ShareShare
ReportReport
Posted on by 6
Hi everyone, I'm new to Power Apps and I have a problem with using the Patch command. The error is: the function has no valid arguments.
However, I don't understand which ones, attaching an image: TANKS!
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    HI
     
    Does your table have a primary key column?
     
    DOes it have a Many to many relationship?
  • ME-12101541-0 Profile Picture
    6 on at
    Hello, thanks for the reply.
    The table has no relationship and no primary key.
     Id this the error?
  • Suggested answer
    timl Profile Picture
    36,411 Super User 2025 Season 2 on at
    Hi ME-12101541-0
     
    This will be the cause of the problem.
     
    The Materiali table must have a primary key defined in SQL Server. If there is no primary key, Power Apps cannot write to the table.
     
    Therefore, the answer is to define/add a primary key column to the Materiali table. You will then need to refresh the table in the Data panel in Power Apps. At that point, the error message should disappear.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard