Errors & CAPTCHAs

LinkedIn 999 Request Denied when scraping: why, and the fix

HTTP status codes · 999
Published

What you see

  • 999 Request denied
  • HTTP Error 999
  • status code 999 linkedin
  • HTTP/2 999
More error strings (5)
  • HTTP/1.1 999 <none>
  • Crawled (999) <GET https://www.linkedin.com/
  • Ignoring response <999 https://www.linkedin.com/
  • Mechanize::ResponseCodeError: 999
  • Request failed with status code 999

What it means

999 Request denied is LinkedIn telling you: we think you are a bot, so no page for you. It is not a real HTTP code. It is LinkedIn’s own code (Yahoo has used 999 too). The usual trigger: too many requests from your network, or a client that doesn’t look like a browser.

What we measured: one calm request got the page

We asked 100 well-known sites to send us one page each from a datacenter IP (an address from a server farm rather than a home), in probe run 2353 on 25 Nov 2026.

LinkedIn’s NASA company page, opened while logged out, answered 200 with the real page. Cloudflare showed up in its headers.

So one calm request can get through. The 999 shows up when you send many, fast, or look like a script. A probe is a single snapshot, not a promise.

We asked for more after that. Our link check read 17 LinkedIn company pages one right after another and stayed on one IP, with no pause. The first page loaded. From page 2, the 999s started.

link check run (26 Nov 2026) IP pages asked got the page blocked first block on page
0132-check datacenter 17 5 12 2
0141-check datacenter, same check again 17 3 14 2
0150-check-oxy-resi residential 17 6 11 2

A home IP did not rescue us.

Which free tools read LinkedIn? In our open-source benchmark (run scrapenews-open-source-benchmark-2026-11-26, 26 Nov 2026), each tool asked for 3 LinkedIn pages, each from its own fresh datacenter IP. 10 of 11 tools got the page every time: Camoufox, Scrapling StealthyFetcher, Botasaurus, nodriver, Patchright, curl-impersonate, curl_cffi, Scrapling Fetcher, Crawl4AI and tls-client. Just curl (plain) failed on every try.

Why did we get the page when so many scrapers get a 999? Our probe asked for a single page one time. One request is the easy case: LinkedIn’s help page links the block to how many requests your network sends.

Read this result as a floor, not a pass mark. It shows LinkedIn does not refuse a datacenter IP on sight. It does not show how many pages in a row you get before the 999 starts.

The link check does. It reads every page on a list, one by one, through the same exit IP, with no wait in between. That is what a simple scraper loop does. A few pages still loaded in between, so the blocks were not a permanent wall. A scraper that only checks the first answer can think it is fine.

Why did plain curl fail when every other tool passed? It got a 403, not a 999. In that benchmark, plain curl already sent a Chrome User-Agent and browser headers. The main difference was the TLS handshake (the opening exchange of a secure connection): plain curl keeps its own, and clients that copy a browser’s, such as curl-impersonate and curl_cffi, passed every time.

“Cloudflare in front” means the reply came with Cloudflare’s cf-ray header and its __cf_bm cookie: Cloudflare delivers LinkedIn’s pages. The 999 itself is a LinkedIn code, not a Cloudflare one.

Residential proxies: price for 10 GB a month, cheapest first
Vendor, plan it picksTotal a month$/GBTotal a yearFree trial · note · source
HProxy Residential ProxiesLite: 10 GB$4.70$0.47$56.40hproxy.com · 29 Nov 2026
CakeIP10GB$6.00$0.60$72promo pricecakeip.com · 29 Nov 2026
Geonode Residential Proxies10 GB Plan$7.92$0.79$95.04free trial: $5 = 10 GB for 3 daysgeonode.com · 29 Nov 2026
ProxyBase Residential ProxiesPay as you go$8.50$0.85$102proxybase.org · 29 Nov 2026

List prices from each vendor’s pricing page, US dollars before tax, live from our price data. Your own size, in the price calculator: Residential proxies.

Why it happens

  1. Too many requests from one network. LinkedIn’s own support page says that you get “Request Denied” when it sees “an abnormally high number of requests” from your connection.
  2. Your client doesn’t look like a browser. Tools that call themselves curl, python-requests or wget get blocked, while the same URL loads fine in Chrome.
  3. Your IP looks like a server. IPs from data centers or cloud hosts, or ones used for abuse before, are more likely to get a 999.
  4. Missing browser headers. A real browser sends Accept and Accept-Language headers too. On Stack Overflow a developer got 999 with only a User-Agent and a clean page once he sent them as well.

LinkedIn bans all of this on paper: its User Agreement (section 8.2) forbids software that scrapes “profiles and other data”, and its robots.txt states automated access without permission “is strictly prohibited”.

That rule has been tested in court. In hiQ v. LinkedIn, LinkedIn said it had “implemented technical measures” meant to keep hiQ out. The Ninth Circuit (18 Apr 2022) let hiQ keep reading public profiles for the time being. In November 2022, a lower court ruled hiQ had breached LinkedIn’s User Agreement, and the two settled. The full story: is web scraping legal.

What counts as “your network”? LinkedIn talks about your network connection, not your account. So the block sits on the IP you come from. If others share that IP, like an office, a VPN or a cloud server, their traffic can count against you too.

The User-Agent is the name tag your client sends with every request. curl sends curl/<version>, so LinkedIn knows at once it is not a browser.

What did hiQ actually get? A district court ordered LinkedIn to remove its technical barriers to hiQ, and the Ninth Circuit upheld that order. It found serious questions about whether the US anti-hacking law (the CFAA) covers public pages at all: anyone can open them, so there is no gate to break. That order was for hiQ only, and came before a full trial. Contract is where hiQ lost later.

Fix it

  1. Stop and wait. The block is automatic. LinkedIn says it lifts when your network’s activity “returns to normal”. A retry loop just keeps it alive.
  2. Check it is really LinkedIn. A 999 from linkedin.com is this block. If you run a link checker, the link is not broken: skip LinkedIn URLs.
  3. Send what your browser sends: copy the User-Agent, Accept and Accept-Language headers from your browser’s developer tools (Network tab).
  4. Slow down. Send fewer requests per IP and pause between them. One GitHub user guessed LinkedIn blocked his IP after 4 to 5 profile hits in a row.
  5. Try another network: LinkedIn itself suggests “an alternate network connection” while you are blocked. For scraping, that means a residential proxy (one IP address borrowed from someone’s home internet). Prices are above.
  6. Drive a real browser instead. The same GitHub user said a headless browser (a real browser your code drives, with no window) solved it.
  7. Need data you are allowed to get? LinkedIn’s own API uses OAuth 2.0 logins and returns normal status codes, not 999.

Logged in while you scrape? Then you agreed to the User Agreement. LinkedIn says accounts that use scraping tools risk being “restricted or shut down”. Never use an account you can’t afford to lose.

Why wait instead of retry? A 999 comes with no Retry-After header, and LinkedIn says only its own systems lift the block. Each retry is one more request from a network it already finds too busy.

On headers, the Stack Overflow answer that worked listed four: accept, accept-encoding, accept-language and user-agent. In a 2022 comment, another user said an empty Referer header made his 999 go away. Both are old user reports, so test them instead of trusting them.

Our own link check backs the GitHub user up and then some: LinkedIn sent its first 999 on page 2, from a datacenter IP and from a residential one alike. A residential IP did not help in our data, so slow down first.

The “4 to 5 hits” figure is one user’s guess in a 2018 GitHub issue, not a limit LinkedIn publishes. That user switched IP, still got 999, and later fixed it with a headless browser.

The official API is narrow. Microsoft’s docs say most permissions need LinkedIn’s explicit approval. Open to every developer: the signed-in member’s own name, headline, photo and email, and posting for them. Other people’s profiles are not on that list.

Paste this into your AI

My scraper gets HTTP status 999 from LinkedIn: "<paste the exact error line>".
Explain in plain words what a 999 means.
Then list the likely causes in order, most likely first.
For each cause, give one quick test and one fix.
Tell me if my request looks like a browser, and how fast is too fast.
My setup: <language + library>, <the LinkedIn URL pattern>, <the request headers I send>,
<requests per minute>, <proxy or no proxy, datacenter or residential>, <logged in: yes/no>,
<does the same URL open in my browser: yes/no>.

Dev details

There is no reason phrase on the wire. Over HTTP/2 you see only the number; over HTTP/1.1, LinkedIn sends the literal text <none>:

HTTP/2 999
content-type: text/html
cache-control: no-cache, no-store, no-transform
HTTP/1.1 999 <none>

You can reproduce it with curl. It sends User-Agent: curl/<version>, which LinkedIn blocks:

curl -sS -o /dev/null -D- https://www.linkedin.com/in/<profile>

It sits outside the valid 100 to 599 range, and IANA does not register it. Libraries handle that oddly:

client what you get
Python Requests no exception: raise_for_status() only raises for 400 to 599, and r.ok is True
Axios Request failed with status code 999 (only 200 to 299 pass by default)
Scrapy Crawled (999) <GET …> then Ignoring response <999 …>: HTTP status code is not handled or not allowed
Ruby Mechanize Mechanize::ResponseCodeError: 999 => …

The Requests trap is the nasty one. Your code thinks it got a page and parses a block page. Check the code yourself:

import requests

r = requests.get(url, headers=headers, timeout=30)
if r.status_code == 999:
    raise RuntimeError("LinkedIn 999: blocked, slow down or change network")

Edge cases:

  • No Retry-After header comes with a 999, so there is no wait time to read. Back off on your own.
  • Switching IPs is not always enough. Even after an IP change, the GitHub user still got 999.
  • LinkedIn support can’t lift the block by hand (“the block is automatically placed by our systems”), but it can look at your account activity that led to it.

Why such a strange number? The HTTP spec says codes outside 100 to 599 are invalid, and that programs often use 600 to 999 for their own internal errors. LinkedIn took the top of that range. Folklore reads it as German: “nein, nein, nein”.

So libraries handle it differently. Requests only raises for 400 to 599, and its ok property just calls raise_for_status(), so a 999 counts as fine. Axios rejects it and tags it ERR_BAD_RESPONSE, the label it gives anything outside 400 to 499.

Scrapy’s HttpErrorMiddleware drops every answer outside the 200 range before your spider sees it. Allow the code on your spider to read the 999 page:

class LinkedInSpider(scrapy.Spider):
    handle_httpstatus_list = [999]

Or set HTTPERROR_ALLOWED_CODES = [999] in your settings.

Questions

Why do I still get 999 with a browser User-Agent?

A User-Agent alone is often not enough. On Stack Overflow, one developer got 999 with only a User-Agent and a working page once he also sent browser Accept, Accept-Encoding and Accept-Language headers. The person who asked still got 999 with those headers, so they are no sure fix: speed and your IP count too.

Does a 999 mean the LinkedIn link is broken?

No. The page usually opens fine in a browser. Link checkers and uptime monitors hit 999 all the time, so the usual advice is to leave LinkedIn URLs out of automated link checks.

How long does the LinkedIn 999 block last?

LinkedIn gives no time. Its help page says access comes back when the activity from your network returns to normal, and its support team cannot lift the block by hand. The 999 answer carries no Retry-After header either.

scrapenews difficulty

60/100 · Complex from 3 of 8 factors

FactorWhat we foundSource
Smallest client that gets througha headless browsergithub.com
Checks stackedIP reputation, TLS fingerprint, header and HTTP/2 fingerprint, device and cookie historyscrapfly.io
Scraper API credits10 credits per request (a plain request is 1)levelup.gitconnected.com

Our analysis of 3 sourced facts; measured runs replace them as they come. How we rate difficulty

Tools that get past it

ToolPrice
Botasaurus: All-in-one framework for building scrapers that avoid bot detection, with browser and request modes.Free
Camoufox: Anti-detect browser built on Firefox that changes fingerprints to look like a real user; works with Playwright.Free
Crawl4AI: Open-source Python crawler that outputs LLM-ready Markdown and structured data; also offered as a hosted API.$0.10/1k req
curl_cffi: Python HTTP client on curl-impersonate that can copy a browser's TLS, JA3 and HTTP/2 fingerprints.Free
curl-impersonate: Special build of curl that looks like Chrome or Firefox at the TLS and HTTP/2 level.Free
nodriver: Python browser automation without WebDriver or Selenium, from the author of undetected-chromedriver, made to avoid bot checks.Free
Patchright: Drop-in patched version of Playwright that hides common automation signs.Free
Scrapling: Python scraping library from a single request to a full crawl, with stealthy fetchers and selectors that survive page changes.Free
tls-client: Go HTTP client like net/http that lets you pick a specific browser TLS fingerprint.Free

Sources

  1. LinkedIn Help: Account network blocked or request denied linkedin.com
  2. LinkedIn Help: Prohibited software and extensions (User Agreement §8.2) linkedin.com
  3. LinkedIn Help: Automated activity on LinkedIn linkedin.com
  4. LinkedIn: robots.txt (crawling notice) linkedin.com
  5. http.dev: 999 Request Denied http.dev
  6. Yahoo Help: Temporary Error 19 & Error 999 help.yahoo.com
  7. YahooFinanceApi issue #23: Yahoo answered status code 999 (Request denied) github.com
  8. Stack Overflow: 999 response when trying to crawl LinkedIn with Scrapy stackoverflow.com
  9. linkedin-scraper issue #105: Getting 999 when hitting public profile pages github.com
  10. linkedin-scraper issues: Mechanize::ResponseCodeError: 999 (#93, #70) github.com
  11. Requests source: raise_for_status() and ok raw.githubusercontent.com
  12. Axios source: default validateStatus raw.githubusercontent.com
  13. Axios source: settle.js error message raw.githubusercontent.com
  14. Scrapy docs: HttpErrorMiddleware (handle_httpstatus_list, HTTPERROR_ALLOWED_CODES) docs.scrapy.org
  15. RFC 9110 §15: Status Codes (100..599 valid) rfc-editor.org
  16. Microsoft Learn: Getting Access to LinkedIn APIs learn.microsoft.com
  17. Ninth Circuit: hiQ Labs v. LinkedIn, No. 17-16783 (2022-04-18) law.justia.com
  18. Wikipedia: hiQ Labs v. LinkedIn (2022 breach ruling and settlement) en.wikipedia.org