Since we moved to release 0.192.0 the AWS S3 node has starting throwing errors when performing actions on a file or folder.
We get the following error :-
ERROR: Cannot read properties of undefined (reading ‘_’)
Stack
TypeError: Cannot read properties of undefined (reading '_')
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Aws/S3/AwsS3.node.js:252:72)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:598:28)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:552:53
When i regress to 0.191.1 i can then get/download again with the same S3 node.
Hi @messi198310, I believe this is a known issue as @Jon mentioned something along these lines the other day. Perhaps he can share some more details on this?
The original report was for S3 but it could be worth checking to see if 193 fixes the other services as well. If it doesn’t we should be able to fix them fairly quickly.
I have tested the get all folder and that now works however the download a file is still failing with
Stack
TypeError: Cannot read properties of undefined (reading 'content-type')
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Aws/S3/AwsS3.node.js:361:45)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:598:28)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:552:53
Get all Files works fine but not sure about all the other operations on the File resource.
TypeError: Cannot read properties of undefined (reading '_')
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/S3/S3.node.js:252:72)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:619:28)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:557:53
Perfect thanks, I have created an internal bug ticket for this one which we will be tracking as N8N-4808. I will let you know when we have fixed this one.
Out of interest are you uploading to S3 or is it an S3 compatible service?