# "Field ‘workDir’ is not writable" error when resuming a pipeline

**URL:** <https://community.seqera.io/t/field-workdir-is-not-writable-error-when-resuming-a-pipeline/1748>\
**Category:** Ask for help\
**Created:** [February 17, 2025, 11:28pm UTC](https://community.seqera.io/t/field-workdir-is-not-writable-error-when-resuming-a-pipeline/1748 "2025-02-17T23:28:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshamilton](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/joshamilton/32/1309_2.png) [@joshamilton](https://community.seqera.io/u/joshamilton)\
**Post date:** [February 17, 2025, 11:28pm UTC](https://community.seqera.io/t/field-workdir-is-not-writable-error-when-resuming-a-pipeline/1748/1 "2025-02-17T23:28:24Z")

</div>

I am trying to resume a Seqera Platform Run on a different AWS compute environment (switching from spot to on-demand instances). However, clicking “Launch” results in the following error:

`Field 'workDir' is not writable: unset or use previous value`

I did not change the workDir parameter, and both compute environments use the same pipeline work directory. Both compute environments were created using Seqera Platform, using the same IAM user.

Seqera Platform: Version 24.3.0-cycle3\_58b72a7  
User role: Ownwer  
nf-core-bacass: Version 2.3.1

---

<div class="post-metadata">

**Author:** ![joshamilton](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/joshamilton/32/1309_2.png) [@joshamilton](https://community.seqera.io/u/joshamilton)\
**Post date:** [February 17, 2025, 11:41pm UTC](https://community.seqera.io/t/field-workdir-is-not-writable-error-when-resuming-a-pipeline/1748/2 "2025-02-17T23:41:17Z")

</div>

Actually, Seqera Platform changes the working directory when I change compute environments.

When I click “Resume”, the correct work directory is selected:

 ![Screenshot 2025-02-17 at 3.35.57 PM](https://europe1.discourse-cdn.com/flex013/uploads/seqera/original/2X/f/f2a9e45f6af30d60e8299c80a3232e38c10f7e17.png)

When I switch to the on-demand environment, the work directory changes:

 ![Screenshot 2025-02-17 at 3.36.08 PM](https://europe1.discourse-cdn.com/flex013/uploads/seqera/original/2X/a/a096b04d6b3fe86e31ea7f2b70183ffaf35864b0.png)

I tried passing the correct work directory via the Nextflow config file under “Advanced options”, but received the same error.

 ![Screenshot 2025-02-17 at 3.40.26 PM](https://europe1.discourse-cdn.com/flex013/uploads/seqera/original/2X/6/6a85156e6ebe0813c258cf06fcee1c7114467194.png)
