Describe the problem/error/question
If I add a defaultValue key for a form node, I will encountered the following error
Key ‘defaultValue’ in field 0 is not valid for form fields
What is the error message (if any)?
Key ‘defaultValue’ in field 0 is not valid for form fields
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
n8n version: 1.122.2
Form node version: 2.3
Database: Postgres
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via Docker
Operating system: Ubuntu
barn4k
December 17, 2025, 1:56pm
2
I don’t know what your code node is doing as this crypto-js package is not in the default packages and you didn’t provide any information about the logic. But I don’t have any issues with default values.
Thanks for your reply @barn4k
no matter what is it the code node. even when I want to add a simple static json I get this error that default value is not valid
I even don’t have default value in the UI
barn4k
December 22, 2025, 8:29pm
4
Add the Next Form Page node from the panel. seems you are not using the latest version.
I added it from the panel
and this is the version
maybe it is bug.
barn4k
January 5, 2026, 10:27am
6
Try updating to the new version, maybe it isn’t supported in 1.122.2