We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoServerError: E11000 duplicate key error collection: myFirstDatabase.guilds index: guildId_1 dup key: { guildId: null } at C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\operations\insert.js:53:33 at C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\connection_pool.js:299:25 at C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\sdam\server.js:212:17 at handleOperationResult (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\sdam\server.js:284:20) at Connection.onMessage (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\connection.js:219:9) at MessageStream. (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\connection.js:60:60) at MessageStream.emit (node:events:513:28) at processIncomingData (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\message_stream.js:132:20) at MessageStream._write (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:392:12) { index: 0, code: 11000, keyPattern: { guildId: 1 }, keyValue: { guildId: null }, [Symbol(errorLabels)]: Set(0) {} }
The text was updated successfully, but these errors were encountered:
MongoServerError: E11000 duplicate key error collection: myFirstDatabase.guilds index: guildId_1 dup key: { guildId: null }
check this answers out. It might help u. https://stackoverflow.com/questions/24430220/e11000-duplicate-key-error-index-in-mongodb-mongoose
Sorry, something went wrong.
No branches or pull requests
MongoServerError: E11000 duplicate key error collection: myFirstDatabase.guilds index: guildId_1 dup key: { guildId: null }
at C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\operations\insert.js:53:33
at C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\connection_pool.js:299:25
at C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\sdam\server.js:212:17
at handleOperationResult (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\sdam\server.js:284:20)
at Connection.onMessage (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\connection.js:219:9)
at MessageStream. (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\connection.js:60:60)
at MessageStream.emit (node:events:513:28)
at processIncomingData (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\message_stream.js:132:20)
at MessageStream._write (C:\Users\kirit\Downloads\Giveaway-main (1)\Giveaway-main\node_modules\mongodb\lib\cmap\message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:392:12) {
index: 0,
code: 11000,
keyPattern: { guildId: 1 },
keyValue: { guildId: null },
[Symbol(errorLabels)]: Set(0) {}
}
The text was updated successfully, but these errors were encountered: