Hello, I have a problem I can not see the source code inside the console of the Cloud function, it should be noted that the file if this in the location but does not show me the code in the console. yesterday worked well perform two executions of the function but after that the code stopped appearing, also try to upload the code again but still the same thing happens.
Hi @jorgep,
Welcome to Google Cloud Community!
A possible reason why you can't view your function source is because of a deleted GCS object or bucket. Check your Cloud Storage bucket/object. The error, "No se encontro el archivo en la ubicacion de almacenamiento" is returned whenever two consecutive deployment failures had occured due to the deleted object/bucket.
Currently GCF self-deletes function source files after deployments such that for every function only the two most recent function sources for the two most recent versions are maintained.
For a quick workaround, you may check this related issue.
https://issuetracker.google.com/285748608
Hope this helps.