Correct error code 400 on request formatting error (Bad request)