diff --git a/scipost/views.py b/scipost/views.py
index 4b3fab5947131d7dbf73affc8e6be0264c9ffbc1..a29e63996719a1089bbdc1693534814093f6c707 100644
--- a/scipost/views.py
+++ b/scipost/views.py
@@ -1322,7 +1322,7 @@ def csrf_failure(request, reason=""):
     """
     Custom CRSF Failure. Informing admins via email as well.
     """
-    body = 'Error message: ' + reason + '\nUser: ' + request.user
-    body += '\nRequest GET: ' + request.GET + '\nRequest POST: ' + request.POST
+    body = 'Error message: ' + reason + '\nUser: ' + str(request.user)
+    body += '\nRequest GET: ' + str(request.GET) + '\nRequest POST: ' + str(request.POST)
     mail.mail_admins('CRSF Failure', body)
     return render(request, 'crsf-failure.html')