[{"id": "XFXMGF", "ts": "2025-12-08 20:22:22 EST-0500", "log": "Traceback (most recent call last):\n  File \"/app/glygen/glycan.py\", line 87, in post\n    res_obj = glycan_search(req_obj, config_obj)\n  File \"/app/glygen/glycan_apilib.py\", line 236, in glycan_search\n    cur_list += list(dbh[collection].find(mongo_query,prj_obj))\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/cursor.py\", line 1156, in next\n    if len(self.__data) or self._refresh():\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/cursor.py\", line 1073, in _refresh\n    self.__send_message(q)\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/cursor.py\", line 955, in __send_message\n    address=self.__address)\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py\", line 1346, in _run_operation_with_response\n    exhaust=exhaust)\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py\", line 1464, in _retryable_read\n    return func(session, server, sock_info, slave_ok)\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py\", line 1340, in _cmd\n    unpack_res)\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/server.py\", line 136, in run_operation_with_response\n    _check_command_response(first)\n  File \"/usr/local/lib/python3.6/site-packages/pymongo/helpers.py\", line 159, in _check_command_response\n    raise OperationFailure(msg % errmsg, code, response)\npymongo.errors.OperationFailure: $regex has to be a string\n"}]
