-
Notifications
You must be signed in to change notification settings - Fork 322
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
Unable to find or use Template Ids #297
Comments
Hello @faizaankhan, This SDK supports transactional templates, for which the documentation can be found here. With Best Regards, Elmer |
@faizaankhan marketing templates are different from transactional templates. On the dashboard go to Templates -> Transactional (direct link if you're logged in: https://sendgrid.com/dynamic_templates ) and create a template there. Then it shows template id right below the title of the template above the list of versions. You can also copy it from the url. |
Running into the same issue. This is very poorly documented. @thinkingserious As of 2021 there is only 1 section for templates on the website and this is what it displays. The message clearly indicates that this template ID is the one to be used for API calls.. However attempting to use this ID in the SDK will give you a
The way I was able to get my emails to go out is to go to edit my template, pick a version, and then from the URL, grab what looks like to be a That's how you will be able to get something sent successfully. Leaving this here for future Googlers like me who land here |
@FrenchMajesty This worked for me! Thanks!! |
The UI is pretty janky, but after logging out and logging back in, I found my template had an "INACTIVE" label on it. I was able to click the label (I think) and select "Make active". After that, the listed template ID (d-etc.) worked. It now shows an "ACTIVE" label, but I no longer see any UI that lets you toggle active/inactive. |
I am using a trial account and currently setting up things with sendgrid. [RAILS5, RUBY 2.3.3]
While trying to send emails using a custom template, I was unable to find the template id, there's no such place where I could find it easily, though I looked up into the URL and that was having an id similar to my requirement I was searching for, when used it throws SMTP API Error, and I received the mail below.
The template id must be a valid template id for your account.
You provided 1b656da9-6864-463e-8c1a-e0491f900b2f
Please tell me where to find the working template id.
also, I am unable to figure out that after doing all sender authentication etc, I am still getting my mails in spam.P.S.: It is a Marketing Custom Template
The text was updated successfully, but these errors were encountered: