VAPI can't read the body of an API response.
# support
c
VAPI can't read the JSON body of an API 200 response made by a webhook response through make.com When testing the make scenario on postman, it works correctly. On the VAPI response, when checking the webhook logs, I only see body = {} I am also sending the response in the format described by the VAPI documentation. Has anyone else experienced this issue?
k
Set the Content-Type: application/json header, ensure the JSON response matches VAPI’s required format with the correct toolCallId, and avoid line breaks or special characters in the result field..
I have a make .com workflow, with the output matching what VAPI expects
I have resolved the issue
For anyone having the same issue: if you are making a google apps script, use this when returning your values: return ContentService .createTextOutput(JSON.stringify(payload)) .setMimeType(ContentService.MimeType.JSON);
k
Wow glad it resolved
c
@Kings_big💫 do you have any info about the possibility that VAPI can allow us to use the voices made by the " clone voice " feature?
Whilst I have a voice ID for these voices I create, when I put the ID in VAPI, it sais they don't exist
k
Yes, you can use cloned voices from providers like 11Labs or Play.ht by connecting your API credentials, syncing the voice in your Vapi dashboard, and specifying the voice ID in your assistant settings.. https://docs.vapi.ai/customization/custom-voices/custom-voice
c
The problem is, when I do this, and put the voice ID, it doesn't recognise it
k
Please can you share a loom video..
2 Views