Add support for 422 Unprocessable Entity


Add http status code "422 Unprocessable Entity" to indicate that (COMPOSITION) content is cannot be validated as underlying template is missing - see also

I think I agree with this "The 422 (Unprocessable Entity) status code means the server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions." and goes in the same direction as your proposal @sebastian.iancu
Sebastian Iancu 2 months ago
Thanks @pablo.pazos , I guess such change we should introduce in v1.1? Currently 400 is also used for these kind of errors that I think should be 422 - would it be than a breaking change?


Sebastian Iancu

Raised By

Sebastian Iancu


Affects versions