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". '
Files included with this skill beyond the listing page.
skill mdSKILL.md6,555 B
docsSUMMARY.md261 B
History
First recorded snapshot · 0 installs
SKILL.md
Exa Common Errors
Prerequisites
A bounded non-sensitive reproduction, environment/version, expected behavior, and redaction rule for diagnostics.
Output
A classified Exa failure with redacted evidence and a verified bounded remediation or escalation.
Error Handling
Condition
Safe response
Authentication fails
Verify the scoped secret reference/environment; revoke/rotate if exposure is suspected.
Result is unexpected
Inspect supported sources, date, options, and citations with a sanitized query before changing policy.
Throttling occurs
Apply documented backoff and reduce concurrency; do not bulk retry.
Request includes sensitive data
Stop, sanitize/use an approved path, and follow exposure policy.
Examples
For a failing request, record correlation ID, environment, status class, latency, and sanitized request category, then validate credentials and options against a non-sensitive fixture. Escalate with redacted evidence rather than full query/result content.
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 [email protected].
Error Reference
400 — Bad Request
Error Tag
Cause
Solution
INVALIDREQUESTBODY
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
INVALIDNUMRESULTS
numResults > 100 with highlights
Reduce to <= 100 or remove highlights
INVALIDJSONSCHEMA
Bad schema in summary.schema
Validate JSON schema syntax
NUMRESULTSEXCEEDED
Exceeds plan limit
Check your plan's max results
NOCONTENTFOUND
No content at provided URLs
Verify URLs are accessible
401 — Unauthorized
# 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}'