assistant-request-returned-invalid-assistant
# support
a
We keep getting this error. It used to work. We respond with {"squadId":"70ffa08a-1192-4b2f-af69-014ded6a5ddd","phoneNumberId":"90db600b-5d11-4ae4-8dbc-c018f60d7fc4"} when assistant-request is made to our server
@Vapi We keep getting this error. It used to work. We respond with {"squadId":"70ffa08a-1192-4b2f-af69-014ded6a5ddd","phoneNumberId":"90db600b-5d11-4ae4-8dbc-c018f60d7fc4"} when assistant-request is made to our server
v
@Aby I understand that you're experiencing an issue where you're receiving an error despite responding with the expected JSON payload containing
squadId
and
phoneNumberId
. To assist you better, could you please provide me with the specific error message you're receiving? This will help me understand what might be going wrong and how we can resolve the issue.
a
endedReason: assistant-request-returned-invalid-assistant
v
message has been deleted
@Aby It sounds like you're encountering an issue with the response your server provides when a request is made to it. The JSON response you've mentioned seems to be structured correctly, assuming that "squadId" and "phoneNumberId" are the expected fields. If this used to work but has stopped functioning, here are a few things you might want to check: 1. **Validation of IDs**: Ensure that both the "squadId" and "phoneNumberId" are still valid and recognized by the VAPI system. 2. **API Changes**: Check if there have been any updates to the VAPI that might require changes in the response structure or the data provided. 3. **Network Issues**: Verify that there are no network connectivity issues that could be preventing the response from reaching the VAPI. 4. **Server Errors**: Look into your server logs to see if there are any internal errors that might be causing the problem. If you've already checked these and the issue persists, could you provide more details about the error message or behavior you're observing? This will help me assist you further. If the error is on the VAPI side and not due to the response structure, you might need to contact VAPI support for a more in-depth investigation.
You can continue this conversation by mentioning me in the message.
s
you will be getting a debug log on your server
check it
you will know the reason what went wrong.
4 Views