I NEED YOUR HELP.
# support
a
Heytammy Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
@tammy Of course, I'd be happy to help you with your issue. Could you please provide me with more details about the problem you're experiencing with VAPI?
You can continue this conversation by mentioning me in the message.
t
FROM VAPI. while i was trying to set a custom voice with play.ht voic id. you can see the error message in red. please i need you to help me solve this ish https://cdn.discordapp.com/attachments/1335770702074347520/1335772308270223361/Screenshot_2025-02-03_at_1.40.51_AM.png?ex=67a16267&is=67a010e7&hm=e002971d1ba0e8afbfb8209894a44370767ecbd2cc9fe4c7d1174f1ece1f10a8&
Hello
I need to talk to a real human @Vapi
v
@tammy I understand that you're experiencing an issue with setting a custom voice using a Play.ht voice ID in VAPI. To assist you better, could you please provide me with the error message you're seeing in red? This will help me understand what might be going wrong and guide you towards a solution.
t
It’s on the photo I sent
“Error updating assistant Voice s3://mockingbird-prod/tammy_lucas_[ee07116-0478- 4732-3779-14ee335c5370/volces/speaker/manifest.json not found for provider playht” Above is the error message I get @Vapi
v
@tammy Thank you for providing the error message. It seems like there is an issue with locating the voice file for the custom voice you're trying to set with Play.ht. The error indicates that the manifest file for the voice is not found at the specified S3 location. Here are a few steps you can take to resolve this issue: 1. Verify the Voice ID: Ensure that the voice ID you are using is correct and that it corresponds to an existing custom voice in your Play.ht account. 2. Check S3 Bucket Permissions: Make sure that the S3 bucket where the voice manifest is supposed to be located has the correct permissions set up. VAPI needs to have read access to the file. 3. Confirm File Path: Double-check the file path in the error message. There might be a typo in the bucket name or file path. The correct path should be
s3://mockingbird-prod/tammy_lucas_[unique-id]/voices/speaker/manifest.json
. Make sure there are no extra characters or misspellings. 4. Contact Play.ht Support: If the voice ID and file path are correct, and the permissions are set properly, but you're still encountering this error, it may be best to reach out to Play.ht support for further assistance. If you need more help or if the issue persists after checking these points, please let me know, and I'll do my best to assist you further.
t
Explain number 2 better @Vapi
Explain this better “Confirm File Path: Double-check the file path in the error message. There might be a typo in the bucket name or file path. The correct path should be s3:// mockingbird-prod/ tammy_lucas_[unique-idl/ voices/ speaker/manifest.json. Make sure there are no extra characters or misspellings.” Explain the above better
Explain this better “Confirm File Path: Double-check the file path in the error message. There might be a typo in the bucket name or file path. The correct path should be s3:// mockingbird-prod/ tammy_lucas_[unique-idl/ voices/ speaker/manifest.json. Make sure there are no extra characters or misspellings.” Explain the above better. @Vapi
v
@tammy Certainly! When you're dealing with file paths, especially in an S3 bucket, it's crucial that every part of the path is accurate. Here's a breakdown of the file path mentioned in the error message: - `s3://`: This is the protocol used to access resources in Amazon S3. - `mockingbird-prod`: This is the name of the S3 bucket where the voice files are stored. - `tammy_lucas_[unique-id]`: This part represents a directory within the bucket. The
[unique-id]
should be replaced with the actual unique identifier for your custom voice. It's important to ensure that this ID matches exactly with the one provided by Play.ht. - `voices/speaker/manifest.json`: This is the path within the bucket and directory that leads to the manifest file. The manifest file contains metadata about the custom voice. To confirm the file path, you should: 1. Log into your AWS S3 management console or use an S3 client. 2. Navigate to the
mockingbird-prod
bucket. 3. Look for the directory that starts with
tammy_lucas_
and has your unique voice ID. 4. Inside this directory, navigate through the
voices
and
speaker
subdirectories. 5. Look for the
manifest.json
file. If any part of this path is incorrect or misspelled in your VAPI configuration, the system will not be able to find the voice file, resulting in the error you're seeing. Make sure there are no extra spaces, hyphens, underscores, or other characters that do not belong in the actual path. If you find a discrepancy, correct it in your VAPI configuration and try updating the assistant again.
s
@tammy can you share the voice ID so I can take a look?
t
id": "s3://mockingbird-prod/tammy_lucas_fee07ff6-e478-4732-a779-14ee335c5370/voices/speaker/manifest.json"
that's the voice id
s
@tammy This voice is owned and uploaded by you therefore, it is necessary to synchronize it with Vapi. Please execute the CURL request provided below and then try again. I would appreciate it if you could inform me of the outcome.
Copy code
curl --location 'https://api.vapi.ai/voice-library/sync' \
--header 'Authorization: Bearer user-org-private-key' \
--header 'Content-Type: application/json' \
--data '{
    "providers": ["playht"]
}'
t
how do i use this code you sent.
s
@tammy use any of the API client/software such as postman.