Skip to content
New issue

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

Unique key constraint violation #158

Open
JonnyBurger opened this issue Dec 12, 2023 · 0 comments
Open

Unique key constraint violation #158

JonnyBurger opened this issue Dec 12, 2023 · 0 comments

Comments

@JonnyBurger
Copy link
Member

If someone is impatient and refreshes the page:

https://staging.githubunwrapped.com/ -Error: MongoServerError: E11000 duplicate key error collection: unwrapped2023-testing.renders index: username_1_theme_1 dup key: { username: "n3xt191", theme: "blue" }
at InsertOneOperation.execute (/opt/render/project/src/node_modules/mongodb/lib/operations/insert.js:48:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async executeOperationAsync (/opt/render/project/src/node_modules/mongodb/lib/operations/execute_operation.js:106:16)
at async saveRender (file:///opt/render/project/src/dist/server/db.js:68:5)
at async renderOrGetProgress (file:///opt/render/project/src/dist/server/render.js:115:5)
at async renderEndPoint (file:///opt/render/project/src/dist/server/render.js:126:17)
at async file:///opt/render/project/src/dist/server/server.js:22:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant