-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
This issue is to report an error that arose when I was preparing for an ICEES+ demo. Specifically, the "discover cohort" endpoint at the asthma prod instance returned a sqlite db error to a parameter-specified query.
Query:
curl -X 'POST' \
'https://icees-asthma.renci.org/patient/cohort' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{"TotalEDInpatientVisits":{"operator":">","value":0}}'
Error message:
"return value": "(sqlite3.OperationalError) database is locked\n(Background on this error at: https://sqlalche.me/e/14/e3q8)"
A query that didn't specify parameters {} ran just fine.
Hong was able to replicate the issue, but then ran it again at a later time and had no issues. Kara had the same experience. The issue appears to be a temporary database lock issue, since resolved, but may resurface at a later date.
Metadata
Metadata
Assignees
Labels
No labels