Skip to content

When PATCH-ing a destination, the error message returned for is_duplicate is useless #1111

Description

@hmpf

/../ The API does not behave correctly when PATCH-ing the email-address unchanged, it only complains about

{
  "non_field_errors": [
    "email_address"
  ]
}

.. stripping away the detail of the error for the email-address.

It would probably be better to instead return 200 Ok and pretend the PATCH never happened.

Originally posted by @hmpf in #936 (comment)

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