Skip to content
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

Dynamic Template Error: sending multiple message to multiple recipents (Python) #909

Closed
Ptorres91 opened this issue Jun 17, 2020 · 1 comment
Labels
status: waiting for feedback waiting for feedback from the submitter type: question question directed at the library

Comments

@Ptorres91
Copy link

Hello everyone, i'm following this example with python (https://github.com/sendgrid/sendgrid-python/blob/master/use_cases/send_multiple_emails_to_multiple_recipients.md) to send multiple messages to multiple recipents using dynamic templates, but i'm getting this error:

Exception/Log

# TypeError                                 Traceback (most recent call last)
<ipython-input-77-3e8056bd5ca4> in <module>
     10            'url': 'https://example.com/test0',
     11        },
---> 12        subject='Override Global Subject'),
     13     To(email='[email protected]',
     14        name='Example Name 1',

TypeError: __init__() got an unexpected keyword argument 'dynamic_template_data'

What i'm doing wrong?

Thanks

@eshanholtz
Copy link
Contributor

Looks like this is the same issue as #899, which is solved in #908 and will be included in the next release on 2020-06-24

@eshanholtz eshanholtz added status: waiting for feedback waiting for feedback from the submitter type: question question directed at the library labels Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for feedback waiting for feedback from the submitter type: question question directed at the library
Projects
None yet
Development

No branches or pull requests

3 participants