I am getting this error with when trying the query in Streamlit:

`
{
errorGroups: [1]
insertId: "kqt3ugge77p89rfh"
labels: {4}
logName: "projects/genie-jumphost-test/logs/stderr"
receiveTimestamp: "2023-11-13T19:16:52.593389302Z"
resource: {2}
severity: "ERROR"
textPayload: "Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 537, in _run_script
self._session_state.on_script_will_rerun(rerun_data.widget_states)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/safe_session_state.py", line 68, in on_script_will_rerun
self._state.on_script_will_rerun(latest_widget_states)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 500, in on_script_will_rerun
self._call_callbacks()
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 513, in _call_callbacks
self._new_widget_state.call_callback(wid)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 260, in call_callback
callback(*args, **kwargs)
File "/opt/pages/4_Query.py", line 34, in on_input_change
response = run_query(query_engine_id, user_input, chat_id=st.session_state.chat_id)
File "/opt/api.py", line 136, in run_query
handle_error(resp)
File "/opt/api.py", line 40, in handle_error
raise RuntimeError(f"Error with status {response.status_code}: {str(response)}")
RuntimeError: Error with status 500: <Response [500]>"
timestamp: "2023-11-13T19:16:51.748504453Z"
}
`
I am getting this error with when trying the query in Streamlit:
`
{
errorGroups: [1]
insertId: "kqt3ugge77p89rfh"
labels: {4}
logName: "projects/genie-jumphost-test/logs/stderr"
receiveTimestamp: "2023-11-13T19:16:52.593389302Z"
resource: {2}
severity: "ERROR"
textPayload: "Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 537, in _run_script
self._session_state.on_script_will_rerun(rerun_data.widget_states)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/safe_session_state.py", line 68, in on_script_will_rerun
self._state.on_script_will_rerun(latest_widget_states)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 500, in on_script_will_rerun
self._call_callbacks()
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 513, in _call_callbacks
self._new_widget_state.call_callback(wid)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 260, in call_callback
callback(*args, **kwargs)
File "/opt/pages/4_Query.py", line 34, in on_input_change
response = run_query(query_engine_id, user_input, chat_id=st.session_state.chat_id)
File "/opt/api.py", line 136, in run_query
handle_error(resp)
File "/opt/api.py", line 40, in handle_error
raise RuntimeError(f"Error with status {response.status_code}: {str(response)}")
RuntimeError: Error with status 500: <Response [500]>"
timestamp: "2023-11-13T19:16:51.748504453Z"
}
`