Garbage text and voice output
# support
k
Hello Team, AI agents are behaving weird from yesterday. Starts outputting garbage text, can you please check what's going on? Example call - 43d9b5b4-66e4-4f31-8b9f-1d362dafa448
v
Hi Kulwant! 😊 I understand that you're experiencing issues with the AI agents outputting garbage text. This can be frustrating, but let's see if we can troubleshoot this together! Here are some steps you can take to resolve the issue: 1. **Check JSON Format**: Ensure that the output is properly formatted as JSON. Remove any nested JSON objects from the
result
field and make sure it’s a properly formatted string. 2. **Verify Content-Type**: Make sure the response's
Content-Type
is set to
application/json
to ensure correct interpretation by the AI agent. 3. **Configuration Checks**: Double-check your integration setup, including API keys and access permissions, to confirm they are correct and active. 4. **Webhook Configuration**: Confirm that your webhooks are set up correctly and test them using tools like Postman to ensure they are reachable. 5. **Review Logs**: Look at the logs for any error messages that might give insight into what’s going wrong. If these steps don’t resolve the issue, please provide any error messages or logs you have, and I can help further! Also, keep in mind that there have been some known issues with the Vapi platform that could affect AI output, such as problems with structured outputs and parallel function calls. You might want to check if any of these apply to your situation. Let me know how it goes! 👍 Sources: - [Troubleshooting Steps for Vapi AI Agents Outputting Garbage Text](https://discord.com/channels/1211482211119796234/1211483291191083018/1334658296291921920) - [Detailed Report on Known Issues with Vapi Platform Affecting AI Output](https://discord.com/channels/1211482211119796234/1211483291191083018/1326276427628154920)
k
Hey! To help track down this issue, could you share: - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!
k
Hi Shubham, it starts reading and error message during the call.
k
Hey Kulwant, can you clarify the expected vs. unexpected response? I couldn't understand what went wrong based on the transcript. "transcript": "AI: Hello, this is Amy. How may I assist you today?\\nUser: Hey, is somebody called from this number I just written?\\nAI: I can help you with that. Could you please provide me with the number that called you so. I can assist you further.\\nUser: Yeah, this number, right? What I'm calling.\\nUser: Hello.\\n",