UPDATE - FIXED: I looked at my service accounts in google cloud and noticed that the @appspot.gserviceaccount.com account was deleted. I found a way to undelete it - here https://cloud.google.com/iam/docs/service-accounts-delete-undelete?cloudshell=true and after that all my cloud functions and deploys started working again. Phew! I have no idea how that account got deleted in the first place, but now it seems to be fixed.
My cloud functions deployed from FlutterFlow were working just fine. The all of a sudden about 24h ago, they all stopped. They don't function, and I can't deploy from FlutterFlow as i always just get an error. This is for all my cloud functions, so it's not just code in one of them.
Here are a couple of the error messages I see when in cloud logs:
2025-02-06 08:00:41.698 GMT stripeWebhook details: 'Getting metadata from plugin failed with error: Could not refresh access token: Unsuccessful response status code. Request failed with status code 500',
and...
Error processing webhook event: Error: 2 UNKNOWN: Getting metadata from plugin failed with error: Could not refresh access token: Unsuccessful response status code. Request failed with status code 500
Lots of chatgpt'ing later and I think the issue is related to the firebase-adminsdk-<random>@<your-project>.iam.gserviceaccount.com id. I looked at it and there were no keys associated with it - which I thought could be the problem. So I generated a new key, but now am stuck trying to get this new key into FlutterFlow - but I'm not sure I even need to do this.
Does anyone have any idea what might have happened? I'm on the Blaze plan. The project has been running successfully for a few weeks - and now this...
Please - if anyone is out there who knows more about this and how I can fix it, please help me. I've spent hours looking at this, but nothing and I have a production system that should be taking payments from Stripe but can't because of this.
Thanks!