-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending template emails via API #981
Comments
Having the same issue |
Perezpaya - I figured out the issue. I was pointing to the wrong account. Double check your APIKey and make sure the template ID you are using exists in the same account. |
Same error. It is very big shame that SendGrid doesn't allocate resources to fixing these issues. Especially from paying clients point of view. |
I get a similar issue but I get the following error |
Issue is still here. Any ideas? |
To be perfectly honest, for me it turned out to be an API key issue. The code base I was working with was using other API key that is legit but does not belong to our account, thus it never appeared in the logs. However, Twilio/SendGrid should definitely improve API responses and tell what exactly is wrong. |
I am able to send regular emails via the API without trouble. However, I need to send an email with a template. I am able to send a test email from my SendGrid console, but when I try to send via the API the email never arrives at the destination.
The POST returns a 202 Accepted as if everything is ok.
Here is the template.
Here is the POST body.
The text was updated successfully, but these errors were encountered: