Without naming names, here's a couple of examples:
1) FAANG company: interviewed and received offers at two distinct times, which I rejected. Both offers where missing exactly what I had asked at the beginning of the interview cycle (salary was lower than my current; seniority level wasn't what I expected).
Third cycle of interviews, years later - rejected because they thought I didn't have enough experience in that specific role (been doing it very successfully for 8+ years at that point). Close friends in the industry couldn't believe it.
2) fast-growing startup: first interview with CMO, hoping to get a CTO-like, executive position (not to brag but please trust me that I abundantly had all the necessary skills and experience). Then I get to an interview with a very junior lady. After 30 minutes in the interview, I realize that something is wrong. I ask her if this is intended to be an interview for a job where I would report to her... Someone just fresh out of college, with a couple of years of working experience in a non-relevant field/company. WTF.
3) Three very, very successful YC companies: applying for a job and not even receiving an opportunity to interview, despite the obvious good match between my profile and the job itself.
4) Flew to an interview with company in Silicon Valley (soon to be acquired by FAANG-like), on my own dime, from another state in the US (domestic flight, a couple hundred bucks, took an entire day off for that). The motherf-er who was supposed to interview me didn't even show up, and never apologized.
Please, don't read the above as me being arrogant or have too high an opinion of my skills or my profile (you're still free to think so); these were really situations where it was far too obvious that the company and/or the interviewer didn't have any idea of what they were doing, or did a really poor job at handling the job process.
In fact, I also had my fair share of situations where I was rejected, etc, in which I happily admitted to myself that the company didn't do anything wrong, and that perhaps I wasn't a good match there after all.
I can easily think of a few more situations like the above. These things used to piss me off so much. Now, in hindsight, I see these as ways in which I have learned more about the IT industry, and how appearances often don't match reality. Not at cool startups; not at FAANG-like companies.