Error when I use the NocoDB node to create a record.
Note: I’ve checked the API credentials, and it is okay, so I think there might be a bug in the NocoDB node.
For your info, I am using self-hosted NocoDB instance.
What is the error message (if any)?
400 - {"msg":"Cannot destructure property 'options' of 'object null' as it is null."} - Cannot destructure property 'options' of 'object null' as it is null.
NodeApiError: Bad request - please check your parameters
at Object.execute (/usr/local/lib/node_modules/n8n/packages/nodes-base/dist/nodes/NocoDB/NocoDB.node.js:359:27)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/packages/workflow/dist/Workflow.js:696:19)
at /usr/local/lib/node_modules/n8n/packages/core/dist/WorkflowExecute.js:656:53
I missed this one, If is multi select the field may be expecting an array of items to be sent, Have you tried using something like {{ [ 'my value'] }}?
It might be worth checking the NocoDB api to see what format it expects the data in for those fields. Next update we do for that node we should maybe make this easier.