
Engineering
4 min
Cloudflare Error 1010: Your API Is Returning 403 to Python Clients and Nothing in Your Logs Shows It
Our OpenAI-compatible API answered curl, Node, python-requests and every SDK with 200, and Python's urllib with a 403 that never reached our servers. The cause was Cloudflare's Browser Integrity Check, which is right for web pages and wrong for an API. How to recognise error code 1010, how to prove it is the edge and not your app, and the Configuration Rule that turns the check off for /v1/ only.
cloudflareAPItroubleshooting