When using SimpleIO in a Zato service, Zato does checks on the input, which is quite convenient.
However, when the input is wrong (e.g. missing parameter) the http status code that is produced is 500.
Imo a 400 status code would be better in this case.
yes, this make sense - can you please open a ticket in GitHub? https://github.com/zatosource/zato/issues
The reason it works the way it does now is that SimpleIO can handle both REST and SOAP clients and the latter will typically ignore status codes other than 200 and 500.
But you are right that it should be possible to configure it in one’s environment to another value - thanks for the suggestion!
I think this is a duplicate of the one I raised - https://github.com/zatosource/zato/issues/673