You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When preparing the HTTP POST request for sending email via the API, JSON serialization fails when attempting to serialize django.utils.functional.__proxy__ objects (strings that have yet to be translated).
Potential wrap-around fix is to force JSON encoding with an encoder that forces all objects to unicode before attempting to serialize.
Error encountered:
TypeError: Object of type '__proxy__' is not JSON serializable
Source of the issue:
# sgbackend/mail.py line 68, in send_messages:self.sg.client.mail.send.post(request_body=mail)
When preparing the HTTP POST request for sending email via the API, JSON serialization fails when attempting to serialize
django.utils.functional.__proxy__
objects (strings that have yet to be translated).Potential wrap-around fix is to force JSON encoding with an encoder that forces all objects to unicode before attempting to serialize.
Error encountered:
Source of the issue:
Similar issues:
ryanbagwell/django-cms-named-menus#2
The text was updated successfully, but these errors were encountered: