Hi,
I have been having issues with Inserting and deleting rows from my SQL Server table.
Here is the error code I received when I try to insert a row into my table using PATCH():
ForAll(rowData2,Patch('[dbo].[TableName]',Defaults('[dbo],[TableName]'),{ groupId:groupId, memberId:memberId,dateAcknowledged:dateAcknowledged}))
Error Response:
"error": {
"code": 502,
"source": "msmanaged-na.azure-apim.net",
"clientRequestId": "c4fc28a2-fd97-46a0-8ca6-c2313a14d407",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Microsoft SQL: Parse error at line: 2, column: 1: Incorrect syntax near 'output'.\r\nclientRequestId: c4fc28a2-fd97-46a0-8ca6-c2313a14d407",
"error": {
"message": "Microsoft SQL: Parse error at line: 2, column: 1: Incorrect syntax near 'output'."
},
Table details:
CREATE TABLE dbo.TableName
(
groupId varchar(100) NOT NULL ,
memberId varchar(100) NOT NULL,
dateAcknowledged varchar(100) NOT NULL
);
ALTER TABLE dbo.TableName add CONSTRAINT CompositeKey_1 PRIMARY KEY NONCLUSTERED (groupId,memberId,dateAcknowledged) NOT ENFORCED;
My SQL connection is Azure AD Integrated.
I am getting a similar error when I try to delete rows using the REMOVE() function. I tried using "Insert Row(V2)" Flow, still getting the same error.
I hope I provided enough information about my error message. Been stuck at this for about 3 days.
Thank you