Skip to content

Cast to ObjectId failed for value "undefined" (type string) at path "_id" for model "notes" #9

@abhishek351

Description

@abhishek351

when removing the ( const note={

        "_id": "613ba98466e96212805eb193",
        "user": "613514d2f5c9c75222b2107c",
        "title": title,
        "description": description,
        "__v": 0
      

    }

)
notes is not showing
harry

error in console: Cast to ObjectId failed for value "undefined" (type string) at path "_id" for model "notes"

after reload the window the data comes

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