Skip to content

Unique key constraint violation #158

Open
@JonnyBurger

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Unique key constraint violation · Issue #158 · remotion-dev/github-unwrapped