functions folder uploaded successfully i functions: creating Node.js 18 (1st Gen) function deleteInvalidUserBeforeCreate(us-central1)... HTTP Error: 400, OPERATION_NOT_ALLOWED : Blocking Functions may only be configured for GCIP projects. Functions deploy had errors with the following functions: deleteInvalidUserBeforeCreate(us-central1) i functions: cleaning up build files... Error: There was an error deploying functions
If you getting this type of error when deploying firebase function
Error:
✔ functions: functions folder uploaded successfully
i functions: creating Node.js 18 (1st Gen) function deleteInvalidUserBeforeCreate(us-central1)...
HTTP Error: 400, OPERATION_NOT_ALLOWED : Blocking Functions may only be configured for GCIP projects.
Functions deploy had errors with the following functions:
deleteInvalidUserBeforeCreate(us-central1)
i functions: cleaning up build files...
Error: There was an error deploying functions
1. Get Service ( replace function name and region)
1gcloud functions describe emailSend --region=us-central1 --format="value(eventTrigger.resource)"
2. List out service
1gcloud run services list
3. Assign Role (replace with service name an region)
1gcloud run services add-iam-policy-binding speechToText \2--region=us-central1 \3--member=allUsers \4--role=roles/run.invoker
Join the newsletter
Subscribe for weekly updates. No spams ever!
Copyright © 2024 | Hardik Desai | All Rights Reserved