-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Functions deployment failure: Unable to retrieve the repository metadata
#5244
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Unable to retrieve the repository metadata
Having the same issue |
@gurrpi @Vluf Looking into the issue.
Since I'm having trouble reproducing the issue (which usually is the case for permission related problems), is this happening consistently on your function deploys? Or, maybe, is it happening when you are trying to deploy your functions on a fresh project? If this is only affecting deployments to a relatively new project, I suspect the issue is because it takes time for GCP IAM permissions grants to propagate. |
Hey @gurrpi. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
@Vluf Great to hear. Closing the issue for now. @gurrpi feel free to re-open or to open a new issue if you or others are continuing to see a problem. |
im having the same problem |
I have the same problem. I think it might be permission propagation problem as @taeold pointed out. So, I left it for a few hours and went to delete the cloud function manually (https://console.cloud.google.com/functions/list ) and ran the command again and it is working now. |
Found the exact same issue while deploying on a new project, deleting the function and redoing seems to fix the prob, |
I also have this problem, the function can't be deployed at all, so there's nothing to delete.
I can't even find Cloud Functions service account in IAM. I've tried to grant |
I'm having the same issue. |
Since there haven't been any recent updates here, I am going to close this issue. @gurrpi if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
@gabyshev can you try adding that role to the For those that are still running into this issue, does the error state exactly what the original poster listed?
|
@colerogers yes same issue as originally listed. I finally got my deployments working again, not sure if there were updates on the firebase side of things but here are my steps to get it to work:
Full disclosure, not sure which step was the one that got things to work, in a time crunch so just threw darts at the wall and hopped something would work :). It just did after step 4. Thanks firebase-tools team for your continued maintenance of the project! |
Try to open your Google Cloud Console and check the Billing page for payment problems. Mine is because the monthly bill is below Credit Card minimum payment, so it's rejected in the Google Cloud. But in Firebase it stays in Blaze plan, weird. Adding manual payment fixed my issue. |
Hey @gurrpi. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @gurrpi if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
I got the same issue, It is purely because of my payment method expired. I think the error message should be explanatory instead of saying permission issue |
I'm having issues deploying cloud functions. I'm on Blaze plan and payment info is up to date afaik. I'm at a loss because it was working fine previously. I've even started fresh, empty projects and I'm getting the same errors now. +1 to better error messages — these messages aren't very helpful. One error looks like this:
The other is:
This is a SvelteKit web app and I'm using the experimental firebase tools inside of it with firebase init. I didn't add any cloud functions and yet when I deploy it tries and fails to create one anyway. |
I got the same issue again:
|
Same issue for me too. Somebody tell that bot to stop closing this issue!! |
I have the same issue now. The thing is the
|
It might help to use 'Blaze' plan. I think this had solved my issue |
I checked the Blaze plan and noticed the credit card setting was incorrect. After fixing the credit card issue, it works well. |
It happened to me when I changing the email in SendMail extension. When I save my config it prompt the same error to me. Glad you giving the right direction. Much appreciate. |
I had the same issue, not related to Blaze plan nor credit card issue. It said
As some one put it above, I just tried it again. Then it worked. Don't know why. |
Same issue as above, trying to deploy with a configured Blaze plan and updated payment method. Debug logs say: "original": { Error: There was an error deploying functions |
I'm getting this same issue. It seems to happen on some functions and not others, and I have no idea why, given they both use the same service account. I've also successfully deployed this project before. I've tried:
Edit: Okay, this is really strange. I edited the function group to add in one of the function definitions from one of the function groups that deploys successfully. This unsuccessful function group used to have just an Edit: Figured this out. We're using |
same error here:
|
Same problem as described. If i reapply same resource google_cloudfunctions_function again it works |
[REQUIRED] Environment info
firebase-tools: 11.15.0
Platform: macOS
[REQUIRED] Test case
firebase deploy
command to deploy 27 Cloud Functions of https://github.com/quadratic-funding/mpc-phase2-suite/ at once[REQUIRED] Steps to reproduce
firebase login
command[REQUIRED] Expected behavior
Successful deployment
[REQUIRED] Actual behavior
Failed to deploy 26 of 27 Cloud Functions. Service account of Cloud Functions doesn't had a proper permission to retrieve the repository metadata when it failing
CLI log:
Cloud Functions side Log
Following is a log of
checkAndPrepareCoordinatorForFinalization
function:The text was updated successfully, but these errors were encountered: