Google Certified Professional Data Engineer

Sign Up Free or Log In to participate!

Vision API Cloud Function Not Working

I am unable to deploy the cloud function. I followed exactly as the video:

gcloud functions deploy check_images –runtime python37 –trigger-resource lee-acloud-guru-uploads –trigger-event

This is the message I get:

ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Build failed: could not resolve storage source: googleapi: Error 404: Not Found, notFound

I set the permissions correctly for the service account and it still keeps giving me the error.

Please help


I’m also getting this same error. My bucket does exist with the correct name and I copied the python code from the video resources.

1 Answers

Hi Alee

I’m not able to reproduce your error, and the lab is working fine for me.

This error might suggest that the function can’t find the bucket to bind to. Are you sure the lee-acloud-guru-uploads bucket exists with that exact name?

Hope this helps!

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?