# Updating a workflow programmatically

**URL:** <https://community.n8n.io/t/updating-a-workflow-programmatically/295774>\
**Category:** Questions\
**Created:** [May 15, 2026, 9:07am UTC](https://community.n8n.io/t/updating-a-workflow-programmatically/295774 "2026-05-15T09:07:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![valonn](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@valonn](https://community.n8n.io/u/valonn)\
**Post date:** [May 15, 2026, 9:07am UTC](https://community.n8n.io/t/updating-a-workflow-programmatically/295774/1 "2026-05-15T09:07:41Z")

</div>

## Describe the problem/error/question

I’m trying to update a workflow programmatically following the docs, but I keep getting errors about fields that shouldn’t be sent

## What is the error message (if any)?

## Please share your workflow

```auto
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```

## Share the output returned by the last node

## Information on your n8n setup

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [May 18, 2026, 11:21am UTC](https://community.n8n.io/t/updating-a-workflow-programmatically/295774/3 "2026-05-18T11:21:18Z")

</div>

> [@valonn](#):
>
> I’m trying to update a workflow programmatically following the documentation, but I keep getting errors about fields that shouldn’t be sent

hi @valonn, good morning!  
the texts that appear when making the post inform the necessary data for us to help you. Could you please share the json?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [August 16, 2026, 11:21am UTC](https://community.n8n.io/t/updating-a-workflow-programmatically/295774/4 "2026-08-16T11:21:23Z")

</div>

Closed on August 16, 2026, 11:21am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
