Hi Team,
I’m experiencing an issue when using Google Cloud Storage (GCS) as a video source on Gumlet. It seems that Gumlet is incorrectly setting the source_url
when processing videos from GCS, which is causing repeated failures.
Setup Details:
- I have configured my GCS bucket and enabled Pub/Sub notifications as per the Gumlet Storage Webhooks documentation.
- When a video is uploaded to the GCS bucket, a Pub/Sub event is fired and sent to Gumlet.
- The asset gets created in Gumlet but with an incorrect
source_url
, leading to a failure.
Issue Observed:
- From the Pub/Sub event payload, the correct URL for fetching the video may be the
mediaLink
field. - However, Gumlet seems to be setting the
source_url
using only theobjectId
, which is just the file name. - As a result, the asset creation fails with the following error:
json
CopyEdit
{
"asset_id": "67bc4cb06ca0059a95b0da9d",
"status": "errored",
"input": {
"title": "3195394-uhd_3840_2160_25fps",
"source_url": "3195394-uhd_3840_2160_25fps.mp4"
},
"error": {
"code": "ERR_ASSET_NOT_FOUND",
"message": "We had trouble downloading the input video/audio file from the URL or path that is used. Please check the URL or path and try again."
}
}
Expected Behavior:
- Gumlet may uses the
mediaLink
from the Pub/Sub payload as thesource_url
, instead of just theobjectId
. - Example of the correct URL format:
json
CopyEdit
"mediaLink": "https://storage.googleapis.com/download/storage/v1/b/<my-bucket-name>/o/3195394-uhd_3840_2160_25fps.mp4?generation=1740393648222266&alt=media"