47
Views
1
Comments
Solved
[Sendgrid Connector] Is the 'Authorization' Bearer Key enough?
sendgrid-connector
Service icon
Forge asset by Cristiano Lúcio
Application Type
Reactive

I'm calling the Send_SingleEmail with "To", "From", "ContentType" as HTML and some "Content" - I also pass along the SendGrid API Key in the "Authorization" field - however the Response I get from SendGrid is still "Permission denied, Wrong Credentials".

Do I need to pass the SendGrid API key in any of the other structures as well?...

Using another Third Party application have verified that the API Key is correct and can generate an email that ends up in my inbox - but calling Send_SingleEmail using the same API key isn't as succesfull for me.

Could leaving out other parameters cause this error?

Best Regards Allan

2021-07-14 07-22-11
Ravn
Solution

Found the error - this little text addition of "Bearer " to the Authorization parameter made it work :-)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.