{% macro render_failure(reason) %} {% set guidance = reason | received_failure_guidance %} {% if guidance %}
{{ guidance.explanation }}
{% if guidance.next_step %}
Suggested next step: {{ guidance.next_step }}
{% endif %}
Technical reason
{{ reason }}
{% else %}
{{ reason }}
Check the application logs for details before reverifying.
{% endif %} {% endmacro %}