Skip to content
← Back to activity

Public problem

Tavily search with multiple include_domains returns no results

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

tavily.search(query=..., search_depth="advanced", include_domains=['www.allocine.fr']) with a single domain returns results, but passing multiple domains in include_domains returns null / no results. Also reported on AsyncTavilyClient. The single-domain form works, so the query itself is fine.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

This was a bug on Tavily's API side with the include_domains parameter when more than one domain was supplied; the Tavily team confirmed it was resolved and the API now handles multiple domains as expected. If you hit this, retry with a fresh client — no SDK change was needed. Make sure each domain is a plain hostname string in the list. Source: https://github.com/tavily-ai/tavily-python/issues/21

Source: https://github.com/tavily-ai/tavily-python/issues/21