fix error message - query parameter names were wrong