Nextcloud Error - Cannot Read Properties

Describe the issue/error/question

When trying to create a folder we get the following error in Nextcloud Node
Cannot read properties of undefined (reading 'json')

Everything was working without any errors until yesterday and we didn’t change anything.
The folder does get created but there is an error message anyway.

What is the error message (if any)?

TypeError: Cannot read properties of undefined (reading 'json')
    at /app/code/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:851:18
    at Array.forEach (<anonymous>)
    at Object.returnJsonArray (/app/code/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:850:14)
    at Object.execute (/app/code/node_modules/n8n-nodes-base/dist/nodes/NextCloud/NextCloud.node.js:1101:34)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Workflow.runNode (/app/code/node_modules/n8n-workflow/dist/src/Workflow.js:598:28)
    at async /app/code/node_modules/n8n-core/dist/src/WorkflowExecute.js:557:53

Please share the workflow

Share the output returned by the last node

TypeError: Cannot read properties of undefined (reading 'json')
    at /app/code/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:851:18
    at Array.forEach (<anonymous>)
    at Object.returnJsonArray (/app/code/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:850:14)
    at Object.execute (/app/code/node_modules/n8n-nodes-base/dist/nodes/NextCloud/NextCloud.node.js:1101:34)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Workflow.runNode (/app/code/node_modules/n8n-workflow/dist/src/Workflow.js:598:28)
    at async /app/code/node_modules/n8n-core/dist/src/WorkflowExecute.js:557:53

Information on your n8n setup

  • n8n version: latest
  • Database you’re using (default: SQLite): default
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: docker
1 Like

Hey @mabaker,

That is a bit of an odd one, What version of Nextcloud are you using? I can see you mentioned not changing anything but I suspect something did change, Was n8n updated maybe? Can you also confirm which version of n8n you are using it says latest but we did 5 releases over the last week so it would be handy to know which one you are on.

Sry, should’ve been more specific. We use 0.193.5 and we did the update from 0.193.4 on midnight. So that may be the culprit, but not sure. The workflow itself did not change, nor any connections.

Hey @mabaker,

That is perfect so I suspect the change will be one we made in 193.5, For now can you downgrade to 193.4?

I will give this a test this afternoon.

Hey @mabaker,

I have just in a PR that will resolve this in a future release, Thanks for the report.

1 Like