I'm receiving an error when updating a record within my PowerApps application. I'm using a flow when a row is added, modified or deleted to update the SQL table with those changes. When updating a record, I'm receiving the following message.
"Primary key is compound by 0 elements but 1 were provided"
I've already confirmed that my primary key/column in SQL is "ID" as I have my Row ID for for the SQL update is set to the following function
"first(outputs('Get_rows_(V2)')?['body/value'])?['ID']"
I don't have any problems with adding a new record but when I'm updating a record I receive the error above. Can anyone help with updating my flow and or the function I'm using? I'm not sure what I'm needing to do to bypass this error so I can update the record.


Report
All responses (
Answers (