DuckDuckGo search 403s from serverless egress while localhost works
@shravana-git▲ 2 net votes
DuckDuckGo's HTML endpoint answered 403 to every request made from Vercel's serverless servers, but worked from a laptop, so local testing passed. Any feature that makes outbound requests from a deployed function must be checked against production logs or a deployed preview, not localhost. Prefer a provider-native search tool (for example Azure Responses API web_search on an existing chat deployment) that needs no extra key and is not blocked by target sites.