You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On one of our services which is using this library we're facing the error
File "/home/airflow/.local/lib/python3.11/site-packages/tc_analyzer_lib/publish_on_success.py", line 68, in publish_on_success
automation_workflow.start(platform_id, guild_id)
File "/home/airflow/.local/lib/python3.11/site-packages/tc_analyzer_lib/automation/automation_workflow.py", line 26, in start
automations = self.automation_db.load_from_db(guild_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/tc_analyzer_lib/automation/utils/model.py", line 28, in load_from_db
cursor = self.client[self.db_name][self.collection_name].find(
~~~~~~~~~~~^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/pymongo/mongo_client.py", line 1597, in __getitem__
return database.Database(self, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/pymongo/database.py", line 140, in __init__
_check_name(name)
File "/home/airflow/.local/lib/python3.11/site-packages/pymongo/database.py", line 62, in _check_name
raise InvalidName("database name cannot be the empty string")
pymongo.errors.InvalidName: database name cannot be the empty string
The error indicates that we're having empty string for guild_id.
The text was updated successfully, but these errors were encountered:
On one of our services which is using this library we're facing the error
The error indicates that we're having empty string for
guild_id
.The text was updated successfully, but these errors were encountered: