Discussions

Ask a Question
Back to All

unable to Create new session --> data: { code: 10013, message: 'avatar not allow' }

The demo app from github works.. but it doesn't have AvatarID and VoiceID... so When I try to recreate the demo by moving some of the code to server.js and try to call the same functions with Avatar ID provided with Avatars on the website and VoiceID using the API call https://api.heygen.com/v1/voice.list .

I have tried multiple avatar and voice ids but nothing works.

Url for creation new session${SERVER_URL}/v1/streaming.new

Error: data: { code: 10013, message: 'avatar not allow' }