Or: How I Learned to Stop Worrying and Blame DNS
TL;DR: httpx AsyncClient was failing with empty error messages while every other HTTP client worked. After 3 hours debugging through Python's entire network stack, I discovered it was trying IPv6 (TikAPI's DNS returns IPv6 but refuses IPv6 connections). The fix? One line: httpx.AsyncHTTPTransport(local_address="0.0.0.0"). Yes, it was DNS.
It started with the most frustrating error message I've ever seen:
{"detail":"An error occurred while requesting TikAPI: "}