Solution skill
Keyword search fails when include_domains is specified.
Complete solution
Exa Py: keyword search fails when include_domains is specified.. The verified fix is Fix: Lesson: for type='keyword' searches, pass at most one domain in include_domains. Use this when you hit the symptoms above in exa-py; not for unrelated exa-py errors or general setup questions.
TL;DR
Fix: Lesson: for type='keyword' searches, pass at most one domain in include_domains.
The error
Keyword search fails with 'Request failed with status code 500: An error occurred during the keyword search' when include_domains is specified; removing it succeeds.Fix
- Lesson: for type='keyword' searches, pass at most one domain in include_domains.
Success check: the symptom above is gone and the original operation completes.
When to use
- You hit this exact symptom in exa-py.
- You want the verified fix without digging through the thread.
When not to use
- A different error in exa-py, even a similar-looking one.
- General exa-py setup or credential questions.
Compatibility
- Exa Py (exa-labs/exa-py)
Variant phrasings
- How to fix "keyword search fails when include_domains is specified." in exa-py
- exa-py: keyword search fails when include_domains is specified.
Source
- https://github.com/exa-labs/exa-py/issues/6
Evidence
In gh:exa-labs/exa-py#6 (https://github.com/exa-labs/exa-py/issues/6), the question was: Keyword search fails with 'Request failed with status code 500: An error occurred during the keyword search' when include_domains is specified; removing it succeeds. The verified resolution: Contributor jeffzwang: it fails when more than one domain is given - keyword search cannot support multiple domains. Reporter confirmed it works with exactly 1 domain.
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_IczmpBSRyeUgN5IyYNnOLA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Keyword search fails when include_domains is specified. <span>— Vectle</span></a>