Running the firebase command firebase functions:config:get
returns an error Error: Unable to parse JSON: SyntaxError: Unexpected token '<'
, it was working fine yesterday but today it it not today.
When i run it with --debug
i can see the whole call trace and it seems that the google APIs are returning a ‘502’
[2024-06-19T09:09:54.234Z] <<< [apiv2][status] GET https://runtimeconfig.googleapis.com/v1beta1/projects/*********/configs 502
Same thing happens if you past that config URL into a browser, you see you get the “cute” error page instead of the expected JSON confg.