Hi i am new to coding so yeah,
Im getting the error pymongo.errors.InvalidURI: Bad database name
my config.json address is
mongodb+srv://xokek123:(passhere)@xokek.r5rja.mongodb.net/xokek123?retryWrites=true&w=majority
error i am getting:
[31m[1mpymongo.errors.InvalidURI[0m:[1m Bad database name “/xokek123:(passhere)@xokek123”[0m
Traceback (most recent call last):
File “C:\Users\aa\Downloads\Skybot-rewrite\bot.py”, line 189, in
skybot = Skybot()
File “C:\Users\aa\Downloads\Skybot-rewrite\bot.py”, line 33, in init
self.admin_db = self.db_client[“management”]
TypeError: ‘NoneType’ object is not subscriptable
Source code of the project:
can anyone tell me what to put in there???
I put in my mongodb atlas URI connected using connect using mongodb native drivers