Discussions
Error When Creating Photo Avatar Group via API
Hi, I’m trying to create a photo avatar group via the API, but I’m consistently getting the following error:
API Request Body:
{
"name": "aftab",
"image_key": "image/508e7578243944018b21d89ef1a64776/original",
"generation_id": "d72ea14afe464f5e88d8f286fb67e822"
}
Error Response:
{
"data": null,
"error": {
"code": "internal_error",
"message": "This photo was not generated properly. Please contact [email protected]"
}
}
For reference, here’s the upload image response I got:
{
"code": 100,
"data": {
"id": "508e7578243944018b21d89ef1a64776",
"name": "508e7578243944018b21d89ef1a64776",
"file_type": "image",
"folder_id": "",
"meta": null,
"created_ts": 1756988625,
"url": "https://resource2.heygen.ai/image/508e7578243944018b21d89ef1a64776/original",
"image_key": "image/508e7578243944018b21d89ef1a64776/original"
},
"msg": null,
"message": null
}
Could anyone confirm:
Is my request body formatted correctly?
Do I need to generate or pass a different generation_id?
Or is this a known issue with photo avatar group creation?
Thanks in advance 🙏