Sendgrid emails not delivered

Hi all, i created a flow that get a list of emails from a google sheet and send to this addresses an email using Sendgrid email api. The problem i have is that out of 23k addresses only 3k were delivered.

I get this error (i cannot get the full error):
Error: connect ECONNREFUSED 54.155.98.56:443\n at Function.AxiosError.from (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/AxiosError.js:89:14)\n at RedirectableRequest.handleRequestError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:620:25)\n at RedirectableRequest.emit (node:events:531:35)\n at RedirectableRequest.emit (node:domain:488:12)\n at ClientRequest.eventHandlers. (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:49:24)\n at ClientRequest.emit (node:events:519:28)\n at ClientRequest.emit (node:doma…

Sendgrid does not even see the request for sending the emails.

Do you know what could be the problem?

Thanks
SDF

Information on your n8n setup

  • n8n version: Web
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system: Windows

Hey @sdf , the IP address 54.155.98.56 comes from Amazon IPs pool. It sounds like Sendgrid uses AWS as the Cloud provider for their services. If you are sending 23K requests to their API, I could imagine they “refuse” to process them due to sheer volume.

I believe Sendgrid has a feature where you can create a list of all the addressee and make a single call for Sendgrid to send emails to all of them. At least that is how it could be done via their UI. Not sure if there is API specifically for that.