Facing issues while testing squad.
# support
d
getting couple of errors in the logs - 1. Your server rejected
status-update
webhook. Error: Request failed with status code 410 2. Your server rejected
tool-calls
webhook. Error: Request failed with status code 410 I have configured 3 assistants in a squad and I'm not using any external server. All the configuration set up is done using UI. additional info: call-id : 9e624e4f-9899-499a-88c4-f01855842a6d
v
Hi there! 👋 I see you're having some webhook issues while testing your squad. I don't have specific information about your particular configuration, but I can definitely help explain some possible reasons for those 410 errors and suggest some troubleshooting steps. ## Possible Reasons for the 410 Errors When you're getting 410 errors for both
status-update
and
tool-calls
webhooks, there are several potential causes: ### Configuration Issues According to the [troubleshooting information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334280135683084328), even though you're not using an external server, there might be misconfiguration in the webhook URL settings within your Vapi account. Double-check that all URLs for events are correctly set in the Vapi dashboard. ### Vapi-Side Issues There might be issues on the Vapi side. Some users have reported that [deleting the old assistant and creating a new one fixed similar issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1326809606671958080). ### Response Format Issues If you're using tool calls, ensure that the JSON response format is correct. The [expected return type is a string without line breaks](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342315282198298729), and the
toolCallId
must be included in the response. ### Known Bugs There seems to be [a known bug related to adding headers to tools created on the Vapi dashboard](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336715819333193740). A workaround is to use
x-vapi-secret
for the auth header. ## Troubleshooting Steps 1. **Verify Squad Configuration**: Ensure all members in your squad are properly structured with either an
assistantId
or
assistant
property, and remove any empty members.
2. **Check for Recent Changes**: Review if there have been any recent changes to your Vapi configuration that might have affected webhook functionality. 3. **Try Recreating Assistants**: As mentioned earlier, some users have resolved similar issues by deleting and recreating the assistants. 4. **Check System Logs**: Look for more detailed error messages in your system logs that might provide additional context. 5. **Review Webhook Delivery Logs**: If Vapi provides logs for webhook delivery attempts, review them to see if there are any failed attempts and what the reasons might be. Is there any specific part of your configuration you'd like me to help with further? Sources: - [Reasons for Vapi server rejecting
status-update
webhook with status code 410](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334280135683084328) - [Reasons for Vapi server rejecting
tool-calls
webhook with status code 410](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342315282198298729) - [Troubleshooting Vapi webhook errors when not using an external server](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336715819333193740) - [How to configure assistants in a squad using the Vapi UI](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342171458524414012)
s
Hey Dom, The error logs which you are seeing for this call is related to the server messages you have selected for each of the assistants in your squad. When VAPI tries to send the server messages for your current active assistant, and it returns back either with the status code 410 or something else, we display the error region vs rejection inside the call logs. That's why you are seeing this. They have no direct relation to the call quality until and unless you are using some events which side-effect you are dependent on. If required, you can toggle these server messages for your assistant from the dashboard.