Discussions

Ask a Question
Back to all

500 errors from Avatar IV API for new image uploads

  1. I uploaded a jpeg image through the Upload Asset API and received a 100 response with an id, name and image_key etc. that all look fine.
  2. I waited 30 minutes to let it process on the HeyGen backend and verified it was showing up with the List Assets API
  3. I then tried to use that image key in an Avatar IV generate request (https://api.heygen.com/v2/video/av4/generate) and received a 500 internal server error:
    {
    "data": null,
    "error": {
    "code": "internal_error",
    "message": "An unexpected error occurred"
    }
    }
  4. I retried the exact same request but used an image_key that I uploaded a few weeks ago (no other changes) and the request works fine and successfully generates a video. This was the exact same jpeg file as the one that is now giving errors.

Why is my latest image upload not able to produce videos?