We see some queries that are bad requests (such as asPercent() calls with improper arguments) that result in http500. this should be http 400