Skip to content

Error : Unknown modifier: $pushAll #1618

@mgiraud

Description

@mgiraud

This error happens when answering an argument.
$pushAll is deprecated since 2.4 (see https://docs.mongodb.com/v3.2/reference/operator/update/pushAll/) and removed since 4.0.

Installed Mongoose version 4.10.8
But you should really bump all the dependencies since a lot of them have security issues

Request : http://localhost:3001/api/v2/comments/5b3c87d7375a9240517e1701/reply

{
id : 5b3c87d7375a9240517e1701
text : hello
}

Response :

{"status":500,"error":{"code":9,"message":"Unknown modifier: $pushAll"}}

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