ValidationError: user validation failed: email: Path `email` is required. code example Example: Error: ValidationError:: Path `` is required. just remove required: true