Closed mdtusz closed 6 years ago
Hello @mdtusz,
I've added this to our backlog for a fix. Thanks for reporting it!
The body for a successful email send is empty, so I'm guessing that's the root of the issue.
With Best Regards,
Elmer
The fix will be pushed out in the v3.2.0 release by tomorrow.
See here for the specific fix.
Thanks!
Issue Summary
Response.to_dict
fails to create dict.Steps to Reproduce
response = sg.client.mail.send.post(request_body=mail.get())
response.to_dict
The email successfully is sending and the response is the 202 variant - the error seems to be in deccoding the
Response.body
.Stack Trace
Some of the stack has been omitted (things leading up to the response).