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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update Row (SQL Server...
Power Automate
Unanswered

Update Row (SQL Server) - 404 Failed to update item '5'.

(0) ShareShare
ReportReport
Posted on by 53

Hello, I have a Power Automate flow that I am working on where it grabs the data from an inserted row from SharePoint list and loads into an on-prem SQL Server database. However, I am getting an error message:

 

Failed to update item '5'.

 

I think the issue is with the Row id but I am not sure what other option to choose for it as there is nothing in the dynamic content for it. I only see options from the SharePoint list.

power_automate_flow.PNG

Here is my CREATE TABLE statement I made for SQL Server to house this data:

CREATE TABLE [schema].[table](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[name] [varchar](30) NOT NULL,
	[email_address] [varchar](50) NOT NULL,
	[created_date] [date] NOT NULL,
	[transaction_type] [varchar](120) NULL,
	[delivery_type] [varchar](120) NULL,
	[work_order] [varchar](10) NULL,
	[purchase_order_number] [varchar](20) NOT NULL,
	[esimated_amount] [numeric](12, 2) NULL,
	[category] [varchar](20) NULL,
	[worktag] [varchar](100) NOT NULL,
	[attachments] [varchar](250) NULL,
	[description] [varchar](200) NULL,
	[vendor_name] [varchar](20) NULL
)

Am I supposed to be using a different ID for the dynamic content?

Categories:
I have the same question (0)
  • christian-unr Profile Picture
    53 on at

    I think I know what the problem is.... this flow only updates an existing record in the database. Not creates a new one.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard