What's Causing This Error
This error will be there if the template is invalid or the template id does not have a valid template.
Here's How To Resolve It
- Template IDs should always be strings.
- SendGrid doesn't let you send a blank email. So, if your email's only content is included inside your template, we want to ensure it exists and is valid before sending it.