{% extends 'error/general_http_error.json.twig' %} {% set statusCode = 400 %} {% block title %} "location": {{ "OpenEMR 400 Error"|xl|json_encode }}, {% endblock %} {% block statusCode %} "code": 400, {% endblock %} {% block message %} "message": {{ errorMessage|default("One or more of your request arguments was invalid")|xl|json_encode }} {% endblock %}