Added 400 response for empty parameter values