Skip to content

ValidationError: Note validation failed: user: Cast to ObjectId failed for value because of "BSONError" #10

Description

@tanvircr7

Cannot make a newnote because of this error
ValidationError: Note validation failed: user: Cast to ObjectId failed for value "Havoc" (type string) at path "user" because of "BSONError"
here a user named 'Havoc' is trying to make a new note.
something to note:
my database uri is different where i dont' have the database name like 'techNotesDB' as in the case of the video

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions