Wrong status code on invalid date of birth

Hi,

For some invalid identity.date_of_birth values the ‘POST /v1/accounts’ endpoint is returning a 500 HTTP status code instead of a 4xx code.

“1990-01-01” → 200
“01-01-1990” → 422
“1990-13-01” → 500 Shouldn’t this be a 4xx code?

Thanks!

@ionut.banu Thank you for the feedback. It would seem a 422 error would be more appropriate it this case.