Discussions

Ask a Question
Back to All

getting avatar not found , in api responce although it is there

Here's a refined version of your message for clarity and professionalism:

Issue with Heygen Streaming API Integration

I am integrating Heygen's Streaming API with LiveKit using the documentation provided at:
https://docs.heygen.com/docs/streaming-api-integration-with-livekit-v2

When making a POST request to the https://api.heygen.com/v1/streaming.new endpoint, I included the avatar ID obtained from the three dots menu. However, I am encountering the following error in the response:
Edit
{
"code": 10013,
"message": "avatar not found"
}
Could you please assist in resolving this issue? Specifically:

Are there additional steps required to register or activate an avatar ID before using it with the API?
Could this error be related to how I copied the avatar ID, or might it require a specific format?
Thank you for your guidance.