Hi, I am trying to use MongoDB in my project . I have also mentioned the credentials in secret TOML of the app.
However, it shoots me this error
So when I select the option “Search Bio-Topics & Questions” in navigation, it basically tries to create a new DB : BioASQ and populate the records in MongoDB after reading the data. This is where the issue seems to popping up. In local MongoDB, it is running correctly, however, on streamlit, something seems to be missing which I am not able to figure out. The function in app.py where MongoDB setup is being done is : “def setupMongoDB():”
Kindly suggest the changes necessary for this.