SendGrid API Key not working in N8N

Describe the problem/error/question

I have a SendGrid API key that works just fine via a Header when I’m sending email via Postman.

When I put that in the SendGrid API Credentials, N8N shows an error message.

What is the error message (if any)?

" Couldn’t connect with these settings, Forbidden"

Please share your workflow

Not relevant

Share the output returned by the last node

Information on your n8n setup

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

Hey @sg_tech,

Does the API key have access to /marketing/contacts? This is the endpoint we use for testing credential but if you are using a restricted access key it may not be allowed to list contacts but the node should still work.

Apologies for delay in reverting back.

Yes, the Credentials show an error but the actual SendGrid Send Email Node works as expected!

Thanks a lot for the guidance!!!

SG

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.