voice-builder
voice-builder copied to clipboard
Error while executing onJobBucketChange.functions
Voice-builder has been deployed to the GCP project and a job is created from the dashboard. But the status of the job stays at Exporting Resources. Upon checking the logs, I saw that there was an error while executing the onJobBucketChange funciton. PFB the screenshot:

Moreover, on further debugging, I found that pipelineInfo.json is not created for the job. The files in the job bucket are as shown in the screenshot below:

I am not sure, what is going wrong? I appreciate any help provided.
Hi
can you add a console.log(object) to https://github.com/google/voice-builder/blob/master/cloud_functions/functions/index.js#L35
then re-ran the voice building, and check the logs again.
Hi, Thanks for your response. I added the console.log(object), here's the log:

After the change did you run voice building again ?
Yes I did. I think the undefined displayed in the log is the object.
In which case instead of logging object can you do console.log(event)
Here's the screenshot of the log:

Hey @dollyagarwal did you get the solution for this, I'm stuck on the same issue
Hey @dollyagarwal I changed event.data in line 34 of index.js to just event and was able to resolve these errors.