{% if is_error %}
{{ body_content }}
{% elif body_content is mapping %} {% for key, value in body_content.items() %} {{ key }}: {{ value }}
{% endfor %} {% else %}
{{ body_content }}
{% endif %}