Since around 8/14/2024, our services requests to https://api.stackexchange.com/2.2/search are getting blocked by Cloudflare.
Despite not having any changes in the traffic pattern or the actual code.
After some investigation, we determined that this is because the User-Agent
header is not specified in our requests - adding it works around the issue and requests succeed.
I am wondering if others are experiencing this or if there have been new policies added on Cloudflare side?
curl
, a browser, etc.)?/search
for the JavaScript tag on SO doesn't fail. So, it's not that we aren't concerned or don't want this resolved. It's that you haven't given us the minimum amount of information needed.