AWS SES node error - URIError: URI malformed

Guys,

When there is “%” character in subject or body, then AWS SES node throws the following error:

Error: URIError: URI malformed
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Aws/AwsSes.node.js:265:27)

There may be more such characters that may cause the error too.
Could you please check?

Regards,
Bala

Hey, @Bala how big the body you are sending? this issue might be related to it https://github.com/n8n-io/n8n/issues/803

@RicardoE105 The issue is not with the size. It’s definitely with the % character

Working body: User A has completed 75 percent of the course
Error body: User A has completed 75% of the course

Got it, gonna look into this. thanks for letting us know.

1 Like

@Bala found the issue, will send a fix later today.

1 Like

Great, thanks @RicardoE105

@Bala ok just sent a PR fixing the issue, also added the template resource. We will let you know when is released.

2 Likes

Fix got released with n8n@0.87.0

1 Like