Return BAD_REQUEST status when Influx query is missing