Skip to content

KeyError: 'request' #159

@sentry

Description

@sentry

Sentry Issue: MADEWITHWAGTAIL-1D

MessageRejected: An error occurred (MessageRejected) when calling the SendRawEmail operation: Email address is not verified. The following identities failed the check in region US-EAST-1: madewithwagtail@madewithwagtail.org, alan@springload.co.nz, loic@springload.co.nz
(11 additional frame(s) were not displayed)
...
  File "django/core/mail/message.py", line 348, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "django_amazon_ses.py", line 81, in send_messages
    if self._send(email_message):
  File "django_amazon_ses.py", line 110, in _send
    Source=from_email, Destinations=recipients, RawMessage={"Data": message}
  File "botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)

KeyError: 'request'
(17 additional frame(s) were not displayed)
...
  File "django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "django/template/library.py", line 225, in render
    _dict = self.func(*resolved_args, **resolved_kwargs)
  File "core/templatetags/core_tags.py", line 33, in menu
    'request': context['request'],
  File "django/template/context.py", line 87, in __getitem__
    raise KeyError(key)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions