Skip to content

The source in the API error response contains incorrect formatting for some properties #2493

@MaryHirsch

Description

@MaryHirsch

Describe the bug

The source in the API error response contains incorrect formatting for some properties

Expected Behaviour

The formatting is consistent in the source field which indicates which property generates the error

Current Behaviour

Incorrect formatting e.g,

rights', attribute 'rightsUri

Image

adjust to 'rights', attribute 'rightsUri' or attribute 'rights', attribute 'rightsUri' (close the quotation)

Steps to Reproduce

Generate a 422 error response for incorrectly formatted metadata in the rightsUri property

Context (Environment)

Screenshots

Further details

Proposal

Hypothesis

Possible Implementation

Front logo Front conversations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions