# Bad Request: Invalid Argument when updating actions runtime to Node 22

**URL:** <https://community.auth0.com/t/bad-request-invalid-argument-when-updating-actions-runtime-to-node-22/183269>\
**Category:** Get Help\
**Tags:** other, community-topic\
**Created:** [March 4, 2025, 9:55am UTC](https://community.auth0.com/t/bad-request-invalid-argument-when-updating-actions-runtime-to-node-22/183269 "2025-03-04T09:55:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![allinone.enterprise2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/allinone.enterprise2/32/71087_2.png) [@allinone.enterprise2](https://community.auth0.com/u/allinone.enterprise2)\
**Post date:** [March 4, 2025, 9:55am UTC](https://community.auth0.com/t/bad-request-invalid-argument-when-updating-actions-runtime-to-node-22/183269/1 "2025-03-04T09:55:04Z")

</div>

Encountering Bad Request: Invalid Argument error when deploying actions when the only change is updating the runtime to Node 22. No other code change.

Is there any reference material we can get for this error?

---

<div class="post-metadata">

**Author:** ![allinone.enterprise2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/allinone.enterprise2/32/71087_2.png) [@allinone.enterprise2](https://community.auth0.com/u/allinone.enterprise2)\
**Post date:** [March 4, 2025, 10:46am UTC](https://community.auth0.com/t/bad-request-invalid-argument-when-updating-actions-runtime-to-node-22/183269/2 "2025-03-04T10:46:41Z")

</div>

Just to add on the error. Prior encountering the bad Request: invalid argument.

I’m also getting ‘problem running command import during stage processChange when processing type actions’

---

<div class="post-metadata">

**Author:** ![helen628young](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/helen628young/32/75136_2.png) [@helen628young](https://community.auth0.com/u/helen628young)\
**Post date:** [June 4, 2025, 5:25am UTC](https://community.auth0.com/t/bad-request-invalid-argument-when-updating-actions-runtime-to-node-22/183269/3 "2025-06-04T05:25:43Z")

</div>

Hello,

This error because Node.js 22 is only supported on Cloud Functions 2nd gen. If you’re deploying to 1st gen, it will fail.

Best Regard,  
Helen
