pymongo.errors.InvalidURI: Bad database name

Hi i am new to coding so yeah,

Im getting the error pymongo.errors.InvalidURI: Bad database name

my config.json address is


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\”, line 189, in
skybot = Skybot()
File “C:\Users\aa\Downloads\Skybot-rewrite\”, 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

Is the name of your database xokek123?

Also, this question might be better for our general Atlas forum. Theoretically, there is no problem with that name as a database name, so I cannot say for sure.