Quick answer

Cloudflare Error 1015 (HTTP 429) means a single exit IP exceeded the site's request-per-minute threshold — fix it by honoring Retry-After, adding jitter, and rotating across residential exits. Error 1020 / 403 Access Denied means a WAF rule rejected your ASN type (datacenter cloud IP), geo-region, or TLS/HTTP2 client fingerprint on the very first request — fix it by switching from requests to curl_cffi / Playwright and routing through a clean residential or ISP ASN rather than a VPS IP.

Key takeaways
01

Error 1015 = velocity block. Your headers passed, but you sent too many requests from one IP.

02

Error 1020 / 403 = identity block. Either your IP belongs to a flagged datacenter ASN (AS14061, AS24940, AS16509) or Python's OpenSSL JA3/JA4 TLS fingerprint gave away your script.

03

Check your IP's ASN & blocklist standing first. Run your current exit IP through our IP Blacklist & ASN Checker before rewriting scraper logic.

Treating Error 1015 and Error 1020 as the same problem wastes hours: rotating user-agent strings does nothing when your VPS ASN is blocked at Layer 3/4, and buying expensive mobile proxies won't help if you hammer 50 requests/second through a single sticky session.

Step 1: Check whether your IP or ASN is flagged

Paste your server or proxy exit IP into our free IP Blacklist & Reputation Checker. Look at two fields:

  1. ASN & Network Type: If it reads Datacenter / Hosting, strict Cloudflare WAF rules often return 403 / 1020 on request #1 regardless of your headers.
  2. Live DNSBL Results: If a recycled proxy IP appears on DroneBL or s5h.net, you will hit immediate managed challenges.

Step 2: Fixing Error 1015 (Rate Limited / HTTP 429)

  1. Read Retry-After and add exponential jitter (1.5s–4.5s randomized delay per concurrency worker).
  2. Rotate per request (or per pagination batch) instead of pinning one IP for thousands of page loads. On PrivateByte's Essential Residential ($1.50/GB) or Datacenter Rotating ($0.75/GB) tiers, omitting a sticky session ID assigns a fresh exit automatically.

Step 3: Fixing Error 1020 / Immediate 403

Standard python-requests and axios advertise non-browser TLS cipher order and HTTP/1.1 ALPN headers. Pair a browser-grade TLS stack (Playwright or curl_cffi) with a reputation-screened residential exit (CleanProxy™ at $3.50/GB):

from curl_cffi import requests

proxy = "http://YOUR_KEY:[email protected]:3128"
r = requests.get(
    "https://example.com",
    impersonate="chrome",
    proxies={"http": proxy, "https": proxy},
    timeout=20,
)
print(r.status_code)

Need to verify whether switching off a datacenter ASN resolves your 403? Claim $0.50 in free starter credit on /proxies (for eligible new verified accounts) and test CleanProxy™ or Static ISP IPs before committing a dollar.