Diagnose and fix Retell AI common errors and exceptions. Use when encountering Retell AI errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "retellai error", "fix retellai", "retellai not working", "debug retellai".
Quick reference for the top Retell AI errors and their solutions.
retell-sdk installedRetellError: 401 — Invalid API key
Fix: Verify API key in Retell Dashboard. Ensure RETELL_API_KEY starts with key_.
RetellError: 400 — Invalid phone number format
Fix: Use E.164 format: +14155551234. Both from_number and to_number must be valid.
Call connected but agent says nothing
Fix: Check LLM configuration:
const llm = await retell.llm.retrieve(agent.response_engine.llm_id);
console.log(`Model: ${llm.model}`);
console.log(`Prompt length: ${llm.general_prompt.length} chars`);
// Ensure general_prompt is not empty and gives clear instructions
Function call to https://your-api.com/endpoint timed out
Fix: Your function endpoint must respond within 5 seconds. Offload heavy work:
app.post('/functions/lookup', async (req, res) => {
// Respond immediately with acknowledgment
const result = await quickLookup(req.body.args);
res.json({ result: `Found: ${result.name}` });
// Do NOT run async work before responding
});
No webhook events received after call
Fix: Set webhook_url on the agent, not just in Dashboard settings:
await retell.agent.update(agentId, {
webhook_url: 'https://your-app.com/webhooks/retell',
});
Agent voice sounds robotic/choppy
Fix: Check network latency to Retell servers. Use a voice optimized for your use case. Try different voice IDs.
| HTTP Code | Meaning | Retryable | |-----------|---------|-----------| | 400 | Bad request | No — fix params | | 401 | Invalid API key | No — fix key | | 404 | Agent/call not found | No — fix ID | | 429 | Rate limited | Yes — backoff | | 500+ | Server error | Yes — retry |
When an outbound request returns an error, record the HTTP status, request correlation ID, and the target environment without storing the phone number in the shared incident log. Retry only idempotent requests with bounded backoff; do not retry an ambiguous call-creation response until the provider state is checked. If the error is credential-related, rotate the affected test secret and confirm the replacement against a sandbox agent before resuming traffic.
For debugging, see retellai-debug-bundle.
npx skills add jeremylongshore/retellai-common-errors下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer