https://retellai.com/?utm_source=discord&utm_medium=seo logo
I get an error saying ''Failed to update agent, pl...
# ❓・ai-evy-support
m
@AI Evy I get an error saying ''Failed to update agent, please try again.'' when i try to updated the inbound sms agent
a
Thanks for tagging me @moustaphalchemist. I'll look through relevant sources and get back to you shortly.
### Answer The "Failed to update agent, please try again" error can occur for several reasons based on the available information [(1) ]() [(2) ]() : Common Causes: 1. Token Limit Exceeded - If your prompt exceeds the token limit (previously 4096 tokens) , you'll get this error [(1) ]() . The token limit has been increased, but very long prompts can still cause issues . 2. System Bugs - There have been instances where this was caused by temporary platform bugs that were resolved by the Retell AI team [(2) ]() . 3. Configuration Issues - Similar errors have been reported when assigning agents to phone numbers or updating agent configurations [(3) ]() [(2) ]() . Troubleshooting Steps: 1. Check your prompt length - If you're using multi-state configurations, ensure individual state prompts aren't too long [(1) ]() . 2. Try again later - If it's a temporary system issue, waiting 30 minutes often resolves the problem [(1) ]() [(2) ]() . 3. Verify your configuration - Ensure all required fields are properly formatted when updating the agent [(4) ]() [(5) ]() [(6) ](
date-agent) . If the issue persists after trying these steps, it may be a platform-specific bug that requires support intervention [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Im getting this error "Failed to update the agent"](https://discord.com/channels/1186424376300679209/1253802938997018634) [[2] 🚫 New "Error - Failed to Update Agent" - Assigning Agents to Phone Number](https://discord.com/channels/1186424376300679209/1361154032684765185) [[3] Discord message from @conect242004 on 2025-08-12](https://discord.com/channels/1186424376300679209/1294891368505937952/1404835721344450612) [[4] Update Agent](https://docs.retellai.com/api-references/update-agent) [[5] Update Agent](https://docs.retellai.com/api-references/update-agent) [[6] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.