{% extends "base.html" %} {% set description %}
The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing).
Please try other parameters or contact server administrator.
{% endset %} {% if error and error.code %} {% if error.code == 'invalid-filename-length' or error.code == 'invalid-path-length'%} {% set workaround %}Please try again with a shorter filename, other location, or contact server administrator.
{% endset %} {% if error.code == 'invalid-filename-length' %} {% set description -%}Upload filename is too long for target directory.
{%- if error.limit -%}{% if error.filename %}Filename length is {{ error.filename | length }}. {% endif %}Maximum allowed filename size in target directory is {{ error.limit }}.
{%- endif -%} {{ workaround }} {%- endset %} {% else %} {% set description %}Resulting path is too long for target filesystem.
{%- if error.limit -%}{% if error.path %}Path length is {{ error.path | length }}. {% endif %}Maximum allowed path size in target filesystem is {{ error.limit }}.
{%- endif -%} {{ workaround }} {% endset %} {% endif %} {% elif error.code.startswith('invalid-filename') %} {% set description %}Upload filename is not valid: incompatible name encoding or reserved name on filesystem.
Please try again with other filename or contact server administrator.
{%- endset %} {% endif %} {% endif %} {% block title %}400 Bad Request{% endblock %} {% block content %}