The default service account ‘service-${PROJECT_NUMBER}@gcf-admin-robot.iam.gserviceaccount.com’ was created but immediately got deleted for unknow reason. This caused the cloud function deployment failed with the below error:
"error": ***
"code": 404,
"message": "Could not authenticate '[email protected]': Account deleted: xxxx",
"status": "NOT_FOUND"
***
***
I tried to re-enable cloud function API and also ran the followings but nothing worked:
gcloud services enable run.googleapis.com
gcloud services enable eventarc.googleapis.com
Expected behaviour: The service account needed for cloud function should be created
New contributor
An Nguyen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.