add query string for invalid response