-
Notifications
You must be signed in to change notification settings - Fork 714
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
Duplicate emails in the Personalization object are not allowed, make this obvious #788
Comments
Thanks for taking the time to post this issue @tomwwagstaff-product! It is expected behavior for the Twilio SendGrid API to reject emails that have duplicate emails within the Personalization object. We should provide a meaningful error when someone attempts to add duplicate emails. |
Going to look into this one |
Note that in C# we now de-dupe the recipients rather than error: sendgrid/sendgrid-csharp#991 |
So I think I have a solution for this right now. Do we want to de-dupe on a |
I think de-dupe whenever possible, but not de-dupe across to/cc/bcc; dupes are allowed between them. |
I am sending login details to users with personalization in bulk (say 500 users at one time). in my application 2 users can have same email. |
Same issue. Did you get any solution? |
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at support.sendgrid.com. |
Issue Summary
When you add a recipient email address again as a BCC address, sending fails with:
BadRequestsError: HTTP Error 400: Bad Request
Steps to Reproduce
Technical details:
sendgrid Version: 5.4.1
Python Version: 3.6
See this issue: #779
The text was updated successfully, but these errors were encountered: