Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS S3 Module Signature Calc Error with non-latin characters in key. Need to encodeURIComponent #8821

Open
leesilverman opened this issue Mar 5, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@leesilverman
Copy link

Bug Description

Trying to rename object with key ratedogs/Atticus_and_Chloé_1698952308/1.jpeg to ratedogs/Atticus_and_Chlo_1698952308/1.jpeg I repeatedly get this calculation error.

I was able to fix this in my flow by using {{ encodeURI($json.Key) }} instead of just {{ $json.Key }}

image

image

To Reproduce

Not sure which characters trigger this.

Expected behavior

I should just be able to refer to the variable without having to call encodeURIComponent.

Operating System

All

n8n Version

1.29.1

Node.js Version

18

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Mar 6, 2024

Hey @leesilverman,

Thanks for the report, I have created NODE-1216 as the internal ticket to get this resolved.

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Mar 6, 2024
@Joffcom
Copy link
Member

Joffcom commented Mar 6, 2024

Hey @leesilverman

It turns out this is a duplicate of #4680 so I am going to close this one but feel free to follow that issue for updates.

Quick edit: ignore that this is for s3 not ses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants