exa-common-errors
Diagnose and fix Exa API errors by HTTP code and error tag. Use when encountering Exa errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "exa error", "fix exa", "exa not working", "debug exa", "exa 429", "exa 401".
Best use case
exa-common-errors is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Diagnose and fix Exa API errors by HTTP code and error tag. Use when encountering Exa errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "exa error", "fix exa", "exa not working", "debug exa", "exa 429", "exa 401".
Teams using exa-common-errors should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/exa-common-errors/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How exa-common-errors Compares
| Feature / Agent | exa-common-errors | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Diagnose and fix Exa API errors by HTTP code and error tag. Use when encountering Exa errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "exa error", "fix exa", "exa not working", "debug exa", "exa 429", "exa 401".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Exa Common Errors
## Overview
Quick reference for Exa API errors by HTTP status code and error tag. All error responses include a `requestId` field — include it when contacting Exa support at hello@exa.ai.
## Error Reference
### 400 — Bad Request
| Error Tag | Cause | Solution |
|-----------|-------|----------|
| `INVALID_REQUEST_BODY` | Malformed JSON or missing required fields | Validate JSON structure and required `query` field |
| `INVALID_REQUEST` | Conflicting parameters | Remove contradictory options (e.g., date filters with `company` category) |
| `INVALID_URLS` | Malformed URLs in `getContents` | Ensure URLs have `https://` protocol |
| `INVALID_NUM_RESULTS` | numResults > 100 with highlights | Reduce to <= 100 or remove highlights |
| `INVALID_JSON_SCHEMA` | Bad schema in `summary.schema` | Validate JSON schema syntax |
| `NUM_RESULTS_EXCEEDED` | Exceeds plan limit | Check your plan's max results |
| `NO_CONTENT_FOUND` | No content at provided URLs | Verify URLs are accessible |
### 401 — Unauthorized
```bash
# Verify your API key is set and valid
echo "Key set: ${EXA_API_KEY:+yes}"
# Test with curl
curl -s -o /dev/null -w "%{http_code}" \
-X POST https://api.exa.ai/search \
-H "x-api-key: $EXA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"test","numResults":1}'
```
**Fix:** Regenerate API key at [dashboard.exa.ai](https://dashboard.exa.ai).
### 402 — Payment Required
| Error Tag | Cause | Solution |
|-----------|-------|----------|
| `NO_MORE_CREDITS` | Account balance exhausted | Top up at dashboard.exa.ai |
| `API_KEY_BUDGET_EXCEEDED` | Spending limit reached | Increase budget in API key settings |
### 403 — Forbidden
| Error Tag | Cause | Solution |
|-----------|-------|----------|
| `ACCESS_DENIED` | Feature not available on plan | Upgrade plan or contact Exa |
| `FEATURE_DISABLED` | Endpoint not enabled | Check plan capabilities |
| `ROBOTS_FILTER_FAILED` | URL blocked by robots.txt | Use a different URL |
| `PROHIBITED_CONTENT` | Content blocked by moderation | Review query for policy violations |
### 429 — Rate Limited
```typescript
// Default rate limit: 10 QPS (queries per second)
// Error response format: { "error": "rate limit exceeded" }
// Fix: implement exponential backoff
async function searchWithBackoff(exa: Exa, query: string, opts: any) {
for (let attempt = 0; attempt < 5; attempt++) {
try {
return await exa.search(query, opts);
} catch (err: any) {
if (err.status !== 429) throw err;
const delay = 1000 * Math.pow(2, attempt) + Math.random() * 500;
console.log(`Rate limited. Waiting ${delay.toFixed(0)}ms...`);
await new Promise(r => setTimeout(r, delay));
}
}
throw new Error("Rate limit retries exhausted");
}
```
### 422 — Unprocessable Entity
| Error Tag | Cause | Solution |
|-----------|-------|----------|
| `FETCH_DOCUMENT_ERROR` | URL could not be crawled | Verify URL is accessible and not paywalled |
### 5xx — Server Errors
| Code | Tag | Action |
|------|-----|--------|
| 500 | `DEFAULT_ERROR` / `INTERNAL_ERROR` | Retry after 1-2 seconds |
| 501 | `UNABLE_TO_GENERATE_RESPONSE` | Rephrase query (answer endpoint) |
| 502 | Bad Gateway | Retry with delay |
| 503 | Service Unavailable | Check status page, retry later |
### Content Fetch Errors (per-URL status in getContents)
| Tag | Cause | Resolution |
|-----|-------|-----------|
| `CRAWL_NOT_FOUND` | Content unavailable at URL | Verify URL correctness |
| `CRAWL_TIMEOUT` | Fetch timed out | Retry or increase `livecrawlTimeout` |
| `CRAWL_LIVECRAWL_TIMEOUT` | Live crawl exceeded timeout | Set `livecrawlTimeout: 15000` or use `livecrawl: "fallback"` |
| `SOURCE_NOT_AVAILABLE` | Paywalled or blocked | Try cached content with `livecrawl: "never"` |
| `UNSUPPORTED_URL` | Non-HTTP URL scheme | Use standard HTTPS URLs |
## Quick Diagnostic Script
```bash
set -euo pipefail
echo "=== Exa Diagnostics ==="
echo "API Key: ${EXA_API_KEY:+SET (${#EXA_API_KEY} chars)}"
# Test basic connectivity
echo -n "API connectivity: "
HTTP_CODE=$(curl -s -o /tmp/exa-test.json -w "%{http_code}" \
-X POST https://api.exa.ai/search \
-H "x-api-key: $EXA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"connectivity test","numResults":1}')
echo "$HTTP_CODE"
if [ "$HTTP_CODE" != "200" ]; then
echo "Error response:"
cat /tmp/exa-test.json | python3 -m json.tool 2>/dev/null || cat /tmp/exa-test.json
fi
```
## Instructions
1. Check the HTTP status code from the error response
2. Match the error tag to the tables above
3. Apply the documented solution
4. Include `requestId` from error responses when contacting support
## Resources
- [Exa Error Codes](https://docs.exa.ai/reference/error-codes)
- [Exa Rate Limits](https://docs.exa.ai/reference/rate-limits)
- [Exa Status Page](https://status.exa.ai)
## Next Steps
For comprehensive debugging, see `exa-debug-bundle`. For rate limit patterns, see `exa-rate-limits`.Related Skills
workhuman-common-errors
Workhuman common errors for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman common errors".
wispr-common-errors
Wispr Flow common errors for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr common errors".
windsurf-common-errors
Diagnose and fix common Windsurf IDE and Cascade errors. Use when Cascade stops working, Supercomplete fails, indexing hangs, or encountering Windsurf-specific issues. Trigger with phrases like "windsurf error", "fix windsurf", "windsurf not working", "cascade broken", "windsurf slow".
webflow-common-errors
Diagnose and fix Webflow Data API v2 errors — 400, 401, 403, 404, 409, 429, 500. Use when encountering Webflow API errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "webflow error", "fix webflow", "webflow not working", "debug webflow", "webflow 429", "webflow 401".
vercel-common-errors
Diagnose and fix common Vercel deployment and function errors. Use when encountering Vercel errors, debugging failed deployments, or troubleshooting serverless function issues. Trigger with phrases like "vercel error", "fix vercel", "vercel not working", "debug vercel", "vercel 500", "vercel build failed".
veeva-common-errors
Veeva Vault common errors for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva common errors".
vastai-common-errors
Diagnose and fix Vast.ai common errors and exceptions. Use when encountering Vast.ai errors, debugging failed instances, or troubleshooting GPU rental issues. Trigger with phrases like "vastai error", "fix vastai", "vastai not working", "debug vastai", "vastai instance failed".
twinmind-common-errors
Diagnose and fix TwinMind common errors and exceptions. Use when encountering transcription errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "twinmind error", "fix twinmind", "twinmind not working", "debug twinmind", "transcription failed".
together-common-errors
Together AI common errors for inference, fine-tuning, and model deployment. Use when working with Together AI's OpenAI-compatible API. Trigger: "together common errors".
techsmith-common-errors
TechSmith common errors for Snagit COM API and Camtasia automation. Use when working with TechSmith screen capture and video editing automation. Trigger: "techsmith common errors".
supabase-common-errors
Diagnose and fix Supabase errors across PostgREST, PostgreSQL, Auth, Storage, and Realtime. Use when encountering error codes like PGRST301, 42501, 23505, or auth failures. Use when debugging failed queries, RLS policy violations, or HTTP 4xx/5xx responses. Trigger with "supabase error", "fix supabase", "PGRST", "supabase 403", "RLS not working", "supabase auth error", "unique constraint", "foreign key violation".
stackblitz-common-errors
Fix WebContainer and StackBlitz errors: COOP/COEP, SharedArrayBuffer, boot failures. Use when WebContainers fail to boot, embeds don't load, or processes crash inside WebContainers. Trigger: "stackblitz error", "webcontainer error", "SharedArrayBuffer not defined".