diff --git a/website/web/templates/hostname_popup.html b/website/web/templates/hostname_popup.html
index c2a17003..012b7592 100644
--- a/website/web/templates/hostname_popup.html
+++ b/website/web/templates/hostname_popup.html
@@ -202,10 +202,12 @@
{{ popup_icons_request(url['url_object'], tree_uuid) }}
{% if url['url_object'].posted_data %}
-
- Download posted data
-
- Posted data size: {{ sizeof_fmt(url['url_object'].posted_data|length) }}
+
+ Download posted data
+
+ {% if url['url_object'].posted_data is string %}
+ Posted data size: {{ sizeof_fmt(url['url_object'].posted_data|length) }}
+ {% endif %}
{% endif %}
{% if url['cookies_sent'] %}