Произошла ошибка в apply_no_points

Traceback (most recent call last):
  File "/var/www/u2752059/data/www/rau.encaro.ru/modules/public_apply_routes.py", line 27, in apply_no_points
    return prepare_and_render_apply_form('public/apply_form_no_points.html', case, managers, sros)
  File "/var/www/u2752059/data/www/rau.encaro.ru/modules/public_routes.py", line 130, in 
    prepare_and_render_apply_form=lambda template_name, case, managers, sros: _helper_prepare_and_render_apply_form(
  File "/var/www/u2752059/data/www/rau.encaro.ru/modules/public_apply_helpers.py", line 338, in prepare_and_render_apply_form
    return render_template(
  File "/var/www/u2752059/data/www/rau.encaro.ru/venv/lib/python3.10/site-packages/flask/templating.py", line 150, in render_template
    return _render(app, template, context)
  File "/var/www/u2752059/data/www/rau.encaro.ru/venv/lib/python3.10/site-packages/flask/templating.py", line 131, in _render
    rv = template.render(context)
  File "/var/www/u2752059/data/www/rau.encaro.ru/venv/lib/python3.10/site-packages/jinja2/environment.py", line 1295, in render
    self.environment.handle_exception()
  File "/var/www/u2752059/data/www/rau.encaro.ru/venv/lib/python3.10/site-packages/jinja2/environment.py", line 942, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/var/www/u2752059/data/www/rau.encaro.ru/templates/public/apply_form_no_points.html", line 1, in top-level template code
    {% extends "base.html" %}
  File "/var/www/u2752059/data/www/rau.encaro.ru/templates/base.html", line 1154, in top-level template code
    {% block content %}{% endblock %}
  File "/var/www/u2752059/data/www/rau.encaro.ru/templates/public/apply_form_no_points.html", line 469, in block 'content'
    {% set liabilities_amount = (latest_fin_data.total_liabilities if latest_fin_data else 0)|float %}
  File "/var/www/u2752059/data/www/rau.encaro.ru/venv/lib/python3.10/site-packages/jinja2/filters.py", line 1013, in do_float
    return float(value)
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'total_liabilities'