Report InvalidRequestError more accurately.