Hey everyone,
We’re using the video generation API fully via webhooks (we don’t poll the API manually).
For most video generations — including ones that fail — we receive a webhook callback as expected.
However, for some requests that are blocked by moderation, we don’t receive any webhook call at all.
Looking at the GET /v1/videos/ responses afterward:
(Webhook received)
{
"id": <ID>,
"object": "video",
"status": "failed",
"error": null,
"progress": 99
}
(No webhook received)
{
"id": <ID>,
"object": "video",
"status": "failed",
"error": {
"code": "moderation_blocked",
"message": "Your request was blocked by our moderation system."
},
"progress": 0
}
It looks like when the moderation block occurs very early in the processing flow, the webhook might not be triggered.
Could someone from OpenAI confirm whether this is expected behavior or a bug?
Specifically:
-
Are moderation-blocked requests supposed to trigger webhook events?
-
If not, is there a recommended way to detect such moderation failures reliably without polling /v1/videos?
-
We are using video.failed and video.completed webhooks, do we need to add anything else?
Thanks in advance — we’re trying to make sure all video outcomes (including moderation failures) are handled consistently via webhooks.