[2026-08-24 15:06:49] INFO: evaluate.received {"batch_id":"c16d4ca9-dd89-4000-9e70-e6bf607c1963","has_file":true,"filename":"temp_2026-08-24_15:05:48_1787564148_co_lending_loan_decision.xlsx","size":17406,"mime":null,"ip":null} [2026-08-24 15:06:49] INFO: import.sheet_parsed {"batch_id":"c16d4ca9-dd89-4000-9e70-e6bf607c1963","rows_seen":4,"rows_kept":4,"rows_skipped":0} [2026-08-24 15:06:49] INFO: evaluate.excel_parsed {"batch_id":"c16d4ca9-dd89-4000-9e70-e6bf607c1963","row_count":4} [2026-08-24 15:06:49] INFO: policy.request {"batch_id":"c16d4ca9-dd89-4000-9e70-e6bf607c1963","url":"http://localhost:7000/api/live/policy/policy-d9204242"} [2026-08-24 15:06:49] INFO: policy.response {"batch_id":"c16d4ca9-dd89-4000-9e70-e6bf607c1963","ok":false,"http_status":500,"duration_ms":165,"response":" sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query') [SQL: SELECT live_config.id AS live_config_id, live_config.api_key AS live_config_api_key, live_config.api_secret_hash AS live_config_api_secret_hash, live_config.ip_whitelist AS live_config_ip_whitelist, live_config.enabled AS live_config_enabled, live_config.updated_at AS live_config_updated_at FROM live_config WHERE live_config.id = %(pk_1)s] [parameters: {'pk_1': 1}] (Background on this error at: https://sqlalche.me/e/20/e3q8) // Werkzeug Debugger

OperationalError

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query') [SQL: SELECT live_config.id AS live_config_id, live_config.api_key AS live_config_api_key, live_config.api_secret_hash AS live_config_api_secret_hash, live_config.ip_whitelist AS live_config_ip_whitelist, live_config.enabled AS live_config_enabled, live_config.updated_at AS live_config_updated_at FROM live_config WHERE live_config.id = %(pk_1)s] [parameters: {'pk_1': 1}] (Background on this error at: https://sqlalche.me/e/20/e3q8)

Traceback (most recent call last)

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query') [SQL: SELECT live_config.id AS live_config_id, live_config.api_key AS live_config_api_key, live_config.api_secret_hash AS live_config_api_secret_hash, live_config.ip_whitelist AS live_config_ip_whitelist, live_config.enabled AS live_config_enabled, live_config.updated_at AS live_config_updated_at FROM live_config WHERE live_config.id = %(pk_1)s] [parameters: {'pk_1': 1}] (Background on this error at: https://sqlalche.me/e/20/e3q8)

This is the Copy/Paste friendly version of the traceback.

The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. If you enable JavaScript you can also use additional features such as code execution (if the evalex feature is enabled), automatic pasting of the exceptions and much more.
Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.

Console Locked

The console is locked and needs to be unlocked by entering the PIN. You can find the PIN printed out on the standard output of your shell that runs the server.

PIN:

","error":"Non-2xx response from policy API"} [2026-08-24 15:06:49] ERROR: evaluate.aborted_policy_unavailable {"batch_id":"c16d4ca9-dd89-4000-9e70-e6bf607c1963","http_status":500,"error":"Non-2xx response from policy API"}