n8n icon indicating copy to clipboard operation
n8n copied to clipboard

S3 File upload problem with generated file name

Open zaro opened this issue 3 months ago • 2 comments

Bug Description

Simple file upload with S3 with the name of the file set to something/{{ $now.toISO() }}.json fails 100% of the time with the following error :

SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method

To Reproduce

Setup a flow where a step has S3 upload and set the filename to Expression like follows: something/{{ $now.toISO() }}.json

Expected behavior

File should upload successfully.

I think this is a simple bug, where the filename field is evaluated twice yielding each time different value and hence the failing signature.

Operating System

K8s

n8n Version

Version 1.33.1

Node.js Version

Docker image : n8nio/n8n:1.33.1

Database

SQLite (default)

Execution mode

main (default)

zaro avatar Mar 27 '24 03:03 zaro