What types of error messages might SERP API display?
Updated
407: Auth Failed Various authentication errors (wrong username/password, IP not whitelisted, zone disabled, or no permission to request specified city/ASN/region)
502: No peers available Currently, we have no peer Proxy IPs in the region you requested
502: only http requests are allowed, https is forbidden
502: path must be one of /search, /searchbyimage, /maps/search, /shopping/product, /complete/search
502: one of these parameters must be present: q, image_url Mandatory param is missing (q for /search or image_url for /searchbyimage)
502: the inputted country value (gl parameter) does not exist, please enter a valid 2-letter country code
502: the inputted language value (hl parameter) does not exist, please enter a valid 2-letter language code
502: SERP is currently disabled We disabled SERP API's feature due to some reason
502: text/shopping/image search is currently disabled We disabled specific SERP API's type due to some reason
502: strict mode, query params not supported: gws_rd If you pass &lum_strict=1 as query parameter, we'll check that all parameters will be passed to Search Engine without changes, otherwise we silently ignore unknown parameters
502: strict mode, important headers not supported: user-agent If you pass &lum_strict=1 as query parameter, we'll check that all headers will be passed to Search Engine without changes, otherwise we silently ignore unknown headers
502: start/gbv parameter is not supported for mobile platform
502: only start<100 and divisible by 10 is supported
502: timeout Connection to peer timed out (after several retries with different peers)
502: captcha_last_attempt Failed with captcha response (403/redirect to captcha) after several retries
502: response_not_200 Failed with erroneous response (4xx/5xx) from Search Engine after several retries