Discussions
Interactive Avatar Creation TypeError
10 days ago by Ryan Zhou
Hey all,
I cloned the Heygen Tutorial Repo (https://github.com/HeyGen-Official/StreamingAvatarTSDemo) and then pasted my API key into the .env file. I did not change anything else.
However, when I press the "start" button, I am getting "Error starting avatar session: TypeError: Cannot read properties of undefined (reading 'close')
at StreamingAvatarApi. (StreamingAvatarApi.js:561:1)
at step (StreamingAvatarApi.js:61:1)
at Object.throw (StreamingAvatarApi.js:42:1)
at rejected (StreamingAvatarApi.js:34:1)."
Can someone help me figure out what's going wrong?