Discussions
[Help Needed] "Object download failed" (code 40023) when generating video
3 months ago by null
ello everyone,
I’m not a developer, but I’m trying to use the HeyGen API to generate a video from my template.
I keep getting the following error in the final status:
"error": {
"code": 40023,
"detail": "URL is invalid, please ensure that it's correct and has open access",
"message": "Object download failed"
},
"status": "failed"
Here’s the situation:
- I’m using Google Drive links for my images, and I’ve set them to be publicly accessible.
- The API call itself returns a video_id successfully (so the request is accepted),
but after some time the video status shows "failed" with the above error. - I’m not sure if there might be another layer (like audio or background) in my template referencing a URL that isn’t accessible.
Because I’m a non-developer, I’m not completely sure how to confirm which URL is causing the issue. Could you please help me figure out:
- How to confirm all placeholders or hidden layers in my template aren’t referencing a blocked URL?
- Whether my Google Drive links are truly “downloadable” by the API server?
- Any other reason "Object download failed" might appear?
If you need more details (my template ID, logs, etc.), I can provide them. I appreciate any guidance on fixing this “URL is invalid” / “Object download failed” error.
Thank you!