Skip to content

[FR] Better Error Messages for Schema Validation #3571

Open
@eric-forte-elastic

Description

@eric-forte-elastic

Is your feature request related to a problem? Please describe.
Is it currently difficult to debug situations where there is a schema violation due to the error message being difficult to read.

Describe the solution you'd like
I would like that when a schema error is encountered, it displays the specific error that is the source of the issue either at the end or separate from other irrelevant errors that are triggered as a result of the first violation.

Additional context
See this issue #3542 as an example. The error message in this case should be informing the user that the name is in violation of the schema. While that error is in the list of errors in the message, it is very difficult to tell which one is the ultimately contributing error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogenhancementNew feature or requestpythonInternal python for the repository

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions