Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Error when updating with EditForm and SubmitForm



When using a simple EditForm in Powerapps I have the issue if a primary key (nvarchar) contains a comma, the whole query dies because it thinks i'm supplying more then one parameter. this happens when I use the SubmitForm function on an Edit Form. When the primary key does not contain a comman, the query works.


My primary key looks like "O/xx-xxxx,xx", a workaround is using underscore instead of comma.


The data is written through a gateway to my on-premise SQL Server.


Anyone else having this problem?

Community Support
Community Support

Hi Venxir,


Do you get any error messages?


I have seen a similar issue about Error while saving decimals value from another thread, the thread link is:


I have reported this issue on my side, but I haven’t got any updates on it. I will keep an eye on this issue.

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Mabel,


Something like "Mashup exception, inner exception: One key specified but two values supllied". The error was in dutch and I couldn't find the correct English translation... Smiley Frustrated

I am also having this problem. My primary key is "#####, ####, ####" and the error I am receiving when I try to submit the edit form is, 


"The Requested Operation is Invalid. Server Response: [dbo].[TABLE_NAME] failed: 1 Keys were specified, but 3 values were provided. Inner Exception: 1 Keys were Specified, but 3 values were provided. clientRequestID: c408c390-f4c6-4062-8120-9b37f6f34a76"



The Mashup engine cannot handle the comma's you're using, I had the same problem. Try replacing those comma's for something else.

Helpful resources

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (4,000)