https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi, I'm getting this error when trying to publish ...
# ❓・ai-evy-support
a
@AI Evy Hi, I'm getting this error when trying to publish my agent:Duplicate property name "call_summary" in post call analysis data. I can't rename or delete the duplicate field from the UI — both options are unresponsive. Looks like a UI bug. Can you help me remove the duplicate via the backend or fix the issue? https://cdn.discordapp.com/attachments/1302816169367044149/1486714371102081065/image.png?ex=69c68227&is=69c530a7&hm=d906d3988505e9841fe8c9029cf2b7185dcc7e2558aad7f991cfd8b1028b8011&
a
Thanks for tagging me @ananaslord. I'll look through relevant sources and get back to you shortly.
### Answer The duplicate "call_summary" error in your post call analysis data can be resolved by updating your agent via the API to remove the duplicate field. You can use the Update Chat Agent API endpoint to fix this [(1) ]() . The
post_chat_analysis_data
field accepts an array of analysis data objects, and you need to ensure each has a unique
name
property [(2) ]() [(1) ]() . Here's how to resolve it using the API: 1. First, retrieve your current agent configuration to see the duplicate 2. Update the agent with a cleaned
post_chat_analysis_data
array that removes the duplicate "call_summary" entry The
post_chat_analysis_data
parameter should contain unique analysis data objects with distinct names . Since "call_summary" is likely a reserved field used by Retell's default analysis (the system generates this automatically) [(3) ]() , you should avoid creating a custom analysis field with this same name. If you need to customize the call summary, use the
analysis_summary_prompt
parameter instead, which lets you define the prompt for summarizing the call [(2) ]() [(1) ]() . To fix this via API, you'll need to make a PATCH request to update your agent and ensure the
post_chat_analysis_data
array doesn't contain any duplicate "call_summary" entries.
​ To learn more, see the sources I considered: [[1] Update Chat Agent](https://docs.retellai.com/api-references/update-chat-agent) [[2] Create Chat Agent](https://docs.retellai.com/api-references/create-chat-agent) [[3] Update Call](https://docs.retellai.com/api-references/update-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Is there anyway to solve this without patch request
@AI Evy is there anyway to solve this without patch request
a
Thanks for the follow-up, @ananaslord. I'll get back to you soon.
### Answer Based on the available sources, the Update Chat Agent API uses a PATCH request to modify agent configurations [(1) ]() . Unfortunately, I don't have information in the sources about alternative methods to resolve the duplicate "call_summary" field without using the API. Since the UI is unresponsive for renaming or deleting the duplicate field, the API approach appears to be the documented solution. The PATCH request to the Update Chat Agent endpoint allows you to modify the
post_chat_analysis_data
field to remove duplicates . If you're looking for support to have this resolved on the backend without making the API call yourself, I recommend reaching out through the appropriate support channels. However, based on the documentation provided, the API update is the standard method for programmatically fixing agent configuration issues like this.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Update Chat Agent](https://docs.retellai.com/api-references/update-chat-agent) ​