volentixlabsinc / venue-server

The backend services for Venue, a community engagement platform for the Volentix community
https://venue.volentix.io
MIT License
6 stars 0 forks source link

ClientError: [300] Invalid 'Bcc' address: 'dsadas@dsad'. #248

Open shawnlauzon opened 6 years ago

shawnlauzon commented 6 years ago

View details in Rollbar: https://rollbar.com/vlabs/Venue/items/47/

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 375, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 632, in __protected_call__
    return self.run(*args, **kwargs)
  File "/code/venue/tasks.py", line 508, in send_email_confirmation
    language=language, subject='Email Confirmation',
  File "/code/venue/tasks.py", line 556, in send_email
    HtmlBody=html)
  File "/usr/local/lib/python3.6/site-packages/postmarker/models/emails.py", line 316, in send
    return message.send()
  File "/usr/local/lib/python3.6/site-packages/postmarker/models/emails.py", line 196, in send
    return self._manager._send(**self.as_dict())
  File "/usr/local/lib/python3.6/site-packages/postmarker/models/emails.py", line 267, in _send
    return self.call('POST', '/email', data=kwargs)
  File "/usr/local/lib/python3.6/site-packages/postmarker/models/base.py", line 72, in call
    return self.client.call(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/postmarker/core.py", line 106, in call
    **kwargs
  File "/usr/local/lib/python3.6/site-packages/postmarker/core.py", line 132, in _call
    self.check_response(response)
  File "/usr/local/lib/python3.6/site-packages/postmarker/core.py", line 141, in check_response
    raise ClientError(message, error_code=data['ErrorCode'])
ClientError: [300] Invalid 'Bcc' address: 'dsadas@dsad'.Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/postmarker/core.py", line 137, in check_response
    response.raise_for_status()
  File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 422 Client Error: Unprocessable Entity for url: https://api.postmarkapp.com/email