Skip to content

REST API validate endpoint fails with unexpected error 500 #421

@vdesabou

Description

@vdesabou

I noticed a difference of behaviour when REST API validate endpoint is used between 2.0.9 and 2.0.10+ versions

When missing mandatory is not set, validate in 2.0.9 returns expected results, i.e 200 OK with error_count set, etc..
With 2.0.10+ it now returns 500 error
The change of behaviour between 2.0.9 and 2.1.0 is caused by this change made in #365

My understanding is that validate is not supposed to return error 500 but rather 200 with error_count set.

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