https://retellai.com/?utm_source=discord&utm_medium=seo logo
Every time i try import a JSON file, it keeps comi...
# ❓・ai-evy-support
e
@AI Evy Every time i try import a JSON file, it keeps coming up with this error code: 'Failed to import agent configuration. Request failed with satus code 400'. But if i have uploaded the same file in the past and had no issue
a
Thanks for tagging me @esherdeol. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, there are a few approaches to troubleshoot JSON import issues: From community discussions, users have found success by starting with a simplified agent configuration and gradually adding complexity [(1) ]() . One user suggested using ChatGPT to help validate the JSON structure and recommended starting as simple as possible, then adding more features incrementally . Another community member recommended using online JSON validators to check the structural validity of your JSON file . While the JSON might be structurally valid, there could be content-specific validation issues that cause the 400 error. For troubleshooting, you could try: 1. Validate your JSON structure using an online JSON validator 2. Start with a minimal agent configuration and gradually add complexity 3. Compare your current JSON with the version that previously worked successfully Since you mentioned the same file worked before, there might have been changes to validation requirements or your current workspace configuration that's causing the import to fail. If these steps don't resolve the issue, you can contact support at [Contact Sales]() or visit [) for additional assistance. Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Receiving 500 error while importing an agent AI with the JSON file](https://discord.com/channels/1186424376300679209/1368526955556900914) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
e
@AI Evy How do i customise the chat widget in retell ai
a
Thanks for the follow-up, @esherdeol. I'll get back to you soon.
### Answer You can customize the Retell chat widget through several data attributes in the script tag [(1) ]() . Here's the basic customization script with all available options :
Copy code
html
<script
 id="retell-widget"
 src="<https://dashboard.retellai.com/retell-widget.js%22>
 type="module"
 data-public-key="YOUR_RETELL_PUBLIC_KEY"
 data-agent-id="YOUR_RETELL_CHAT_AGENT_ID"
 data-agent-version="YOUR_RETELL_CHAT_AGENT_VERSION"
 data-title="YOUR_CUSTOM_TITLE"
 data-logo-url="YOUR_LOGO_URL"
 data-color="YOUR_CUSTOM_COLOR"
></script>
Available customization options: 1. **Title**: Use
data-title
to change the chat window title [(1) ]() [(2) ](

▾

) 2. **Logo**: Use
data-logo-url
to add your company logo to the chat window 3. **Color**: Use
data-color
with a hex color code to change the widget theme (e.g., "#FFA07A") 4. **Agent Version**: Use
data-agent-version
to specify which version to use, or leave unset for the latest version [(1) ]() Limitations: - The robot launcher button icon cannot be changed through the standard script options [(3) ]() - Font customization is limited in the default UI and would require custom CSS overrides - The "Powered by Retell" text cannot be removed through settings - For full customization beyond these options, you would need to use the Retell API to build your own launcher UI The widget automatically handles chat sessions and persists previous chats in localStorage [(1) ]() .
​ To learn more, see the sources I considered: [[1] Retell Chat Widget](https://docs.retellai.com/deploy/chat-widget) [[2] Retell Chat Widget | How to Customize your Retell chatbot](

https://www.youtube.com/watch?v=p2RN30I1T_g▾

) [[3] Chat Widget Customisation](https://discord.com/channels/1186424376300679209/1387925742007881979) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
e
@AI Evy Can i remove the powered by retell ai label
a
Thanks for the follow-up, @esherdeol. I'll get back to you soon.
### Answer No, you cannot remove the "Powered by Retell" text through the standard widget settings [(1) ]() . The "Powered by Retell" text isn't removable through the available data attributes in the script tag . For full control and white-label options without the "Powered by Retell" branding, you would need to use the Retell API to build your own custom launcher UI . The standard chat widget customization is limited to the available script tag options: title, logo URL, and color [(2) ]() [(1) ]() .
​ To learn more, see the sources I considered: [[1] Chat Widget Customisation](https://discord.com/channels/1186424376300679209/1387925742007881979) [[2] Retell Chat Widget](https://docs.retellai.com/deploy/chat-widget) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.