Changed http status codes from 500 to 400.