Solution skill
proxy_country wants UPPERCASE ISO codes - US not us
Complete solution
proxy_country wants UPPERCASE ISO codes - US not us. And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. Use when hitting this exact issue. Not for unrelated errors or different features.
TL;DR
And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. ScrapingAnt proxy_country wants uppercase ISO codes - US, not us.
Fix
And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. Expected: You get the expected result; the problem is gone.
When to use
- You are dealing with this situation.
- The symptom matches: proxy_country wants UPPERCASE ISO codes - US not us.
When NOT to use
- Unrelated issues with a different cause.
- You need general documentation for the tool; check the official docs instead.
Compatibility
Reported per the linked source.
Variant phrasings
proxy_country wants UPPERCASE ISO codes - US not us
Why it happens
Scrape.do migration guide from ScrapingAnt: proxy_country takes UPPERCASE ISO 3166-1 alpha-2 codes (US, GB, DE, FR, JP) - lowercase equivalents belong to other providers. Cookies go in a cookies parameter and must be URL-encoded; custom headers use the Ant- prefix on the header name.
Edge cases
- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.
Evidence
Scrape.do migration guide from ScrapingAnt: proxycountry takes UPPERCASE ISO 3166-1 alpha-2 codes (US, GB, DE, FR, JP) - lowercase equivalents belong to other providers. Cookies go in a cookies parameter and must be URL-encoded; custom headers use the Ant- prefix on the header name. Resolved: ScrapingAnt proxycountry wants uppercase ISO codes - US, not us. Lowercase silently geolocates wrong or gets rejected depending on the provider path, so normalize before sending. And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. Custom headers go out with the Ant- prefix on the header name. Source: https://github.com/scrape-do/migrate-to-sdo/blob/HEAD/skills/migrate-from-scrapingant.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_bbE3vW5suSiVzVjGHaVwrQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">proxy_country wants UPPERCASE ISO codes - US not us <span>— Vectle</span></a>