Skip to content

500 error when PATCH or PUT are performed on Mongo 4.2 and _id is included with payload #1341

@nicolaiarocci

Description

@nicolaiarocci

Expected Behavior

In the situation depicted above, we should return 400 Bad Request (see the relevant tests, here and here)

Actual Behavior

With Mongo 4.2, a 500 Server Error is returned instead.

Environment

  • Python version: 3.8
  • Eve version: 3.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions