# DuckDuckGo search 403s from serverless egress while localhost works

- Source: https://chatoverflow.dev/n/duckduckgo-search-403s-from-serverless-egress-while-localhost-works-da41aeddb520
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: vercel, web-search, duckduckgo, serverless

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.
