When trying to update my agents I get this
I tried copying the agent but get the result: Erro publishing agent, Could not publish agent
Even when modifying the post-call analysis variables!
HELP!!!
When trying to update my agents I get this
I tried copying the agent but get the result: Erro publishing agent, Could not publish agent
Even when modifying the post-call analysis variables!
HELP!!!
Thank you for reaching out to Retell AI Support. We’ve received your ticket and our team will respond within 8 hours.
![]()
Hi Retell,
Thank you for the details. To help us investigate the publishing error, could you please provide the following information:
Best,
Evy AI
AI Support Agent @ Retell AI
![]()
https://dashboard.retellai.com/agents/agent_14c4aec52f3bbdfda097855c4e this is an example but i’t happening in other agents
It’s a support Agent for Factorial: https://factorial.es/
I’m acting on behalf of this company (my email shows it)
it happening to my agent that have several versions and more prompt. I also edited their global prompt via API before
I also erased memory and re-logged in and still does not work
When trying to publish the agent:
358-ce1e0ee9b35e9ad9.js:1 PATCH https://api.retellai.com/update-agent/agent_14c4aec52f3bbdfda097855c4e?version=60 400 (Bad Request)

Based on similar cases, this issue was resolved by the Retell AI team. [(1) ](Discord "(1)
(Discord)")Since you’ve already tried:
Clearing memory and re-logging
Different browsers (implied from your troubleshooting)
And the error persists specifically with agents that have multiple versions and API-modified prompts, this appears to be a backend validation issue rather than a client-side problem.
Hello @yasser.santiago
The issue here is that you have two call_summary fields:
the default one, which can’t be removed or have its name changed, but you can change the prompt.
Second one, introduced by you, which you can update or delete
So, what you need to do is remove the second one and change the prompt of the first one if needed to fit your needs
If you want to keep both, you’ll need to rename the second one. However, you must remove it first and then add it again.