# UpdateWorkflowExecution operation is disabled on this namespace

**URL:** <https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630>\
**Category:** Community Support\
**Tags:** namespace, dotnet-sdk\
**Created:** [January 10, 2024, 11:13am UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630 "2024-01-10T11:13:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![buzz](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/buzz/32/4770_2.png) [@buzz](https://community.temporal.io/u/buzz)\
**Post date:** [January 10, 2024, 11:13am UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630/1 "2024-01-10T11:13:16Z")

</div>

Hi all.

I am running into this error with the dotnet-sdk:  
UpdateWorkflowExecution operation is disabled on this namespace

Which happens with I try to call a update method:

```auto
        [WorkflowUpdate]
        public async Task UpdateApprovalRequest(bool approved) =>
            this.approved = approved;

```

I am calling it with:

```auto
await handle.ExecuteUpdateAsync(wf => wf.UpdateApprovalRequest(true));

```

How do I update the namespace to allow workflow updates to function correctly?

I am running the latest Temporal in docker on my local machine.

Thanks.

---

<div class="post-metadata">

**Author:** ![Julio\_Jones](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/julio_jones/32/4380_2.png) [@Julio\_Jones](https://community.temporal.io/u/Julio_Jones)\
**Post date:** [January 11, 2024, 5:12am UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630/2 "2024-01-11T05:12:08Z")

</div>

i believe you need to set this env var for the container frontend.enableUpdateWorkflowExecution=true

---

<div class="post-metadata">

**Author:** ![buzz](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/buzz/32/4770_2.png) [@buzz](https://community.temporal.io/u/buzz)\
**Post date:** [January 11, 2024, 7:19am UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630/3 "2024-01-11T07:19:36Z")

</div>

Thank you.

Adding it to the env for the container did not work. I had to add it to the dynamic config file:

```auto
frontend.enableUpdateWorkflowExecution:
  - value: true
    constraints: {}

```

---

<div class="post-metadata">

**Author:** ![Gaurav1234](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/gaurav1234/32/5314_2.png) [@Gaurav1234](https://community.temporal.io/u/Gaurav1234)\
**Post date:** [May 6, 2024, 7:42am UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630/4 "2024-05-06T07:42:59Z")

</div>

adding to dynamic update file worked for me too

---

<div class="post-metadata">

**Author:** ![Asaf](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/asaf/32/4437_2.png) [@Asaf](https://community.temporal.io/u/Asaf)\
**Post date:** [June 4, 2024, 7:08pm UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630/5 "2024-06-04T19:08:44Z")

</div>

Can it be enabled in Temporal Cloud?
