🚀 We are hiring! See open positions

What is Cloudflare Error 1009?

by Bernardas Alisauskas Jan 18, 2024 1 min read

Cloudflare's "Error 1009 Access Denied: Country or region banned" can be encountered when web scraping Cloudflare-covered websites.

screenshot of error 1009
Error 1009: Country or region banned - Cloudflare

It generally means that the website does not support the country or region of a web scraper's IP address. For example, if a scraper is hosted on a server in the US and scraping a website located in Germany it can be easily identified and blocked based on its IP address.

To bypass Cloudflare in this scenario, the web scraper needs to use proxy IPs from allowed countries.

For more on IP-blocking see our introduction article: How to avoid web scraper IP blocking? and for more on Cloudflare bypass see how to bypass Cloudflare article.

For ScrapFly users, see country parameter in proxy configuration

Scale Your Web Scraping
Anti-bot bypass, browser rendering, and rotating proxies — all in one API. Start with 1,000 free credits.
No credit card required 1,000 free API credits Anti-bot bypass included
Not ready? Get our newsletter instead.