Discussions
Persistent 400 error
Got the below error on something that was working perfectly many times and all of a sudden got the below error. I checked my account and was not running out of credit, HeyGen API Key is valid and not sure if I have too many active sessions that could hav trigger the error all of a sudden. Any thoughts as to how to resove the issue.
🎭 Starting Avatar Session with HeyGen SDK...
NexusWidget.jsx:82 ✅ Got HeyGen session token
NexusWidget.jsx:156 🚀 Creating avatar session...
📋 Avatar config: {avatarName: 'Katya_ProfessionalLook_public', quality: 'medium', voiceId: 'f8c69e517f424cafaecde32dde57096b'}
NexusWidget.jsx:163
POST https://api.heygen.com/v1/streaming.new 400 (Bad Request)
NexusWidget.jsx:199 Failed to start avatar session: APIError: API request failed with status 400
at new APIError (index.esm.js:793:1)
at StreamingAvatar. (index.esm.js:1206:1)
at step (index.esm.js:78:1)
at Object.next (index.esm.js:59:1)
at fulfilled (index.esm.js:49:1)
NexusWidget.jsx:200 Error details:
{message: 'API request failed with status 400', status: 400, response: undefined, body: undefined}