The point is that error 502 is not a correct HTTP code for bad GET parameter.