Skip to content

Error loading collections MinimongoError: Duplicate _id #17

@StorytellerCZ

Description

@StorytellerCZ

Getting this when refreshing the page:

Error loading collections MinimongoError: Duplicate _id '9xGzRJM4TyBgRBaEx'
    at MinimongoError (common.js:1085:17)
    at LocalCollection.prepareInsert (local_collection.js:119:13)
    at LocalCollection.insert (local_collection.js:132:21)
    at loadAndObserve (load.js:23:23)
    at async Promise.all (index 51)
    at async load (load.js:64:5)

I have a context for the entire app which subscribes to the current user profiles collection which this is referring to (based on the ID).
I'm guessing that this data is there from previous session, so instead of insert, it should merge/update the data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions