Unable to Update Node Version for Actions
Last Updated:
Overview
When attempting to update actions to Node 22 from the UI, the following error may be encountered. This article will provide a workaround for this issue.
"Invalid argument"
Applies To
- Actions
Cause
The supported_triggers section of the Action lists the version as "v2."
Solution
The Update an Action API Endpoint can be used to update the action to v3.
Using the following body should update the Action:
{
"runtime": "node22",
"supported_triggers": [
{
"id": "post-login",
"version": "v3"
}
]
}