The resource you are requesting could not be found Avatar

Checked the id and credentials everything is matching, but whenever using public avatar from hygen this issue is arising, worked once when i made my own avatar which my actual video so help me sort this issue out

Hello Yash_Vatsh, welcome to n8n Community! I’ll try my best to help.

I think this error is almost always bad avatar ID / wrong API version / wrong header.

Maybe you can do these in order:

  1. In HTTP Request, set header X-Api-Key: <HEYGEN_API_KEY> (not Authorization: Bearer …)
  2. Call GET https://api.heygen.com/v2/avatars?type=public (with the same API key). Copy an id from the response, and thats the only value that will work.
  3. You public avatar ID is probably copied from the website slug, not the API id, or you’re hitting v2 with a v1 body. Re-list via step 2 and swap body to the v2 shape.

Maybe thats all i can share, hope this will works for you! :blush::raising_hands:

Did what you said added a header parameter but still the same issue

Any help here?