Send a 400 HTTP response on invalid image upload parameters.