https://retellai.com/?utm_source=discord&utm_medium=seo logo
hello i have encountered this issue : Failed to ge...
# ❓・ai-evy-support
h
@AI Evy hello i have encountered this issue : Failed to get LLM response Error: Error encountered in LLM call
a
Thanks for tagging me @HelloPapi. I'll look through relevant sources and get back to you shortly.
### Answer The "Failed to get LLM response" error can occur for several reasons in Retell AI [(1) ]() [(2) ]() [(3) ]() [(4) ]() . Common causes include: 1. Invalid agent_id or missing LLM configuration - The agent might be referencing an LLM that doesn't exist or has been deleted [(3) ]() . 2. Tool configuration issues - If you're using tools like
press_digits
, removing and re-adding the tool may resolve the error [(2) ]() . 3. Tool call response issues - The error "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'" indicates missing tool responses [(1) ]() . 4. Unpublished changes - If you've made changes to your LLM configuration but haven't published them, the system might not access the updated version [(3) ]() . 5. Model-specific issues - Some users report errors with certain models (like GPT) that don't occur with others (like Claude Sonnet) [(4) ]() . Troubleshooting steps: 1. Verify your
agent_id
is correct and the LLM configuration exists [(3) ]() . 2. Check if custom functi
ons or webhooks are configured properly and returning responses [(2) ]() . 3. Publish any recent changes to your agent or LLM configuration [(3) ]() . 4. Try switching to a different model to isolate model-specific issues [(4) ]() . 5. Review your tool configurations - remove and re-add problematic tools [(2) ]() . If the issue persists, check your specific call logs and provide your agent ID for more targeted troubleshooting.
​ To learn more, see the sources I considered: [[1] this morning all of my calls started to fail.](https://discord.com/channels/1186424376300679209/1394324743615811665) [[2] Discord message from @aryamann_46533 on 2024-09-25](https://discord.com/channels/1186424376300679209/1186462578310910112/1288528620800704593) [[3] Discord message from @mariag8602 on 2025-10-20](https://discord.com/channels/1186424376300679209/1186462578310910112/1429926616796237875) [[4] Failed to get LLM response error](https://discord.com/channels/1186424376300679209/1313215738269401098) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.