MongoDB Atlas error when registering for new account

There’s a error when i register an account for my site.

MongoError: E11000 duplicate key error collection: Discordio.users index: username_1 dup key: { username: null }
at Function.create (/rbd/pnpm-volume/13dd3828-ac70-43c1-aee3-e57a92e4f096/node_modules/.registry.npmjs.org/mongodb/3.6.3/node_modules/mongodb/lib/core/error.js:57:12)
at toError (/rbd/pnpm-volume/13dd3828-ac70-43c1-aee3-e57a92e4f096/node_modules/.registry.npmjs.org/mongodb/3.6.3/node_modules/mongodb/lib/utils.js:123:22)
at coll.s.topology.insert (/rbd/pnpm-volume/13dd3828-ac70-43c1-aee3-e57a92e4f096/node_modules/.registry.npmjs.org/mongodb/3.6.3/node_modules/mongodb/lib/operations/common_functions.js:265:39)
at handler (/rbd/pnpm-volume/13dd3828-ac70-43c1-aee3-e57a92e4f096/node_modules/.registry.npmjs.org/mongodb/3.6.3/node_modules/mongodb/lib/core/topologies/replset.js:1204:22)
at /rbd/pnpm-volume/13dd3828-ac70-43c1-aee3-e57a92e4f096/node_modules/.registry.npmjs.org/mongodb/3.6.3/node_modules/mongodb/lib/core/connection/pool.js:405:18
at process._tickCallback (internal/process/next_tick.js:61:11)

i tried making a new mongodb atlas database user and it still fails.

The project name is minicordapp