def METHOD_NAME(
    self,
    app: Flask,
    client: FlaskClient,
    with_db_and_bpmn_file_cleanup: None,
    with_super_admin_user: UserModel,
) -> None:
    """React json form schema with bad jinja syntax provides good error."""
    process_model = load_test_spec(
        process_model_id="group/simple_form_with_error",
        process_model_source_directory="simple_form_with_error",
    )
    response = self.create_process_instance_from_process_model_id_with_api(
        client,
        # process_model.process_group_id,
        process_model.id,
        headers=self.logged_in_headers(with_super_admin_user),
    )
    assert response.json is not None
    process_instance_id = response.json["id"]
    response = client.post(
        f"/v1.0/process-instances/{self.modify_process_identifier_for_path_param(process_model.id)}/{process_instance_id}/run",
        headers=self.logged_in_headers(with_super_admin_user),
    )
    assert response.status_code == 200
    response = self._get_next_user_task(process_instance_id, client, with_super_admin_user)
    assert response.json is not None
    assert response.json["error_type"] == "TemplateSyntaxError"
    assert response.json["line_number"] == 3
    assert response.json["file_name"] == "simple_form.json"