Discussions
Im getting an error from N8N but using correct API key/Avatar ID
404 - "{"data":null,"error":{"code":"avatar_not_found
Troubleshooting
Need some help resolving the following error:
404 - "{"data":null,"error":{"code":"avatar_not_found","message":"Avatar bdcd00f8665c471cb642b596d4f0c989 not found or no longer available."}}\n"
Here is the request Im using:
{ "body": { "video_inputs": [ { "character": { "type": "avatar", "avatar_id": "bdcd00f8665c471cb642b596d4f0c989", "avatar_style": "normal" }, "voice": { "type": "text", "input_text": "Testing 123", "voice_id": "07d2ba65847541feb97abc9b60181555", "speed": 1 } } ], "dimension": { "width": 720, "height": 1280 } }, "headers": { "accept": "application/json", "authorization": "hidden", "HeyGen": "hidden" }, "method": "POST", "uri": "https://api.heygen.com/v2/video/generate", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "timeout": 300000, "encoding": null, "json": false, "useStream": true }
Yet I have an Avitar on my account with that ID: bdcd00f8665c471cb642b596d4f0c989