S3 Node Issue in Release 0.192.0

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.

Any ideas would be greatly appreciated.

thanks

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?

1 Like

Evening @messi198310,

This should now be fixed in the 193 release that is now available.

Thanks @Jon. Will deploy and test in our dev environment.

We’re seeing errors with just about any AWS node in 0.192.2. Does 193 fix those, or is that S3 specific?

Hey @Chase,

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.

Hi @Jon

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.

thanks

Hey @messi198310,

I will take a look shortly, I will try out some of the other AWS operations as well.

yes, we are facing same issue with v0.193.0. what’s the fixing plan?

Please try the latest version 0.193.5

Thanks @jan , upgrading to 0.193.5 resolved the S3 download issue.

1 Like

Hey guys,
I’m getting the same error with Bucket S3 with version 0.195.5.
Fix was only applied on AWS S3?

Hey @Romuald_BARON,

Is it the same error message or slightly different?

Hi @Jon

Same error but slightly different stack trace:

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

Hey @Romuald_BARON,

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?

This is one on-premise S3, setup with ceph.io

1 Like

Hi @Jon

Any news about this?

Very sorry. That must have slipped through. We will try to get the fix out asap.

1 Like

Thank you very much @jan

Hey @Claudio_Balbino,

Are you also using ceph?