Traceback (most recent call last):
File "django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "emails/views/app.py", line 57, in view
context["account_json"] = AccountSchema.model_validate(account).model_dump(
ValidationError: 1 validation error for Account
permissions
Error extracting attribute: ValidationError: 1 validation error for Newsletter
custom_subscription_confirmation_email_template
Input should be 'classic', 'modern', 'plaintext' or 'naked' [type=enum, input_value='<!DOCTYPE html>\n<html l.../div>\n</body>\n</html>', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/enum [type=get_attribute_error, input_value=<DjangoGetter: <Account: valindex>>, input_type=DjangoGetter]
For further information visit https://errors.pydantic.dev/2.12/v/get_attribute_error
Sentry Issue: APPLICATION-BACKEND-ADJ