Error on sending HTML email with Amazon SES

Hi,

We have detected next error when trying to send emails in HTML using Amazon SES:

We provide sample task to test error. (from email must be allowed to send emails by Amazon SES):

{
  "name": "test_email_ses",
  "nodes": [
{
  "parameters": {},
  "name": "Start",
  "type": "n8n-nodes-base.start",
  "typeVersion": 1,
  "position": [
    250,
    300
  ]
},
{
  "parameters": {
    "isBodyHtml": true,
    "subject": "=Aqui tienes tu regalo!",
    "body": "=Hola {{$node[\"Get Parsed Name\"].json[\"message\"][\"firstname\"]}}!\n<br><br>\nAquí tienes las capturas prometidas:<br>\n\n<br><br>\n\n<br><br>\n¿Necesitas generar capturas de pantalla en masa? ¿Sabes que puedes hacerlo con <a href=\"https://uproc.io\" target=\"_blank\">uProc</a> desde <a href=\"https://n8n.io/\" target=\"_blank\">n8n</a>, <a href=\"https://www.integromat.com/en/integrations/uproc\" target=\"_blank\">Integromat</a>, <a href=\"https://zapier.com/apps/uproc/integrations\" target=\"_blank\">Zapier</a> o <a href=\"https://www.appypie.com/connect/apps/uproc/integrations\" target=\"_blank\">AppyPie</a>?<br>\n<a href=\"https://calendly.com/uproc/15min\" target=\"_blank\">Explícame</a> lo que necesitas hacer y te echo un cable!\n<br><br>\nMiquel\n<br><br>\nP.D.: Este regalo se ha enviado con uproc.io y n8n.io creando una tarea similar a https://n8n.io/workflows/857",
    "fromEmail": "[email protected]",
    "toAddresses": [
      "[email protected]"
    ],
    "additionalFields": {}
  },
  "name": "AWS SES",
  "type": "n8n-nodes-base.awsSes",
  "typeVersion": 1,
  "position": [
    450,
    300
  ],
  "credentials": {
    "aws": "ses"
  }
}
  ],
  "connections": {
"Start": {
  "main": [
    [
      {
        "node": "AWS SES",
        "type": "main",
        "index": 0
      }
    ]
  ]
}
  },
  "active": false,
  "settings": {},
  "id": "129"
}

Thanks!

Any update on this… Am also getting following error when I run in my local machine…

ERROR: AWS error response [403]: 403 - SignatureDoesNotMatch The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

I think this was fixed. What version of n8n are you using?

@RicardoE105 am using Version: 0.144.0

Weird. Can you please share the HTML you are trying to send so that I can replicate the issue? I will investigate a report back.

@RicardoE105 for both HTML body content & text body content am getting this issue.

Ahh, interesting. Can you try the same setting the env variable N8N_USE_DEPRECATED_REQUEST_LIB =true

how can we set this value in JSON file.

How are you running n8n? Via docker?

am running using npm

@RicardoE105 I searched in “packages/cli/config/index.ts” file for N8N_USE_DEPRECATED_REQUEST_LIB related setting, but I didn’t find any…

It’s not here because this is probably a temporary env variable while transitioning from Request to Axios. Set the env variable in the .env file and restart the container. That is, of course, assuming that you are using docker and you followed the server setup in our docs.