Skip to content
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

502 error on firebase functions:config:get #7342

Closed
JonathonPenberthy opened this issue Jun 19, 2024 · 2 comments
Closed

502 error on firebase functions:config:get #7342

JonathonPenberthy opened this issue Jun 19, 2024 · 2 comments

Comments

@JonathonPenberthy
Copy link

[REQUIRED] Environment info

firebase-tools: 13.11.2

Platform: Windows

[REQUIRED] Test case

Get the existing configuration for a firebase functions

[REQUIRED] Steps to reproduce

execute the command firebase functions:config:get

[REQUIRED] Expected behavior

output:
{ "my": { "foo": "bar" } }

[REQUIRED] Actual behavior

output:
Error: Unable to parse JSON: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Additional Information

When the command is execute with --debug you can see that the google API is responding with an 502 Bad gateway response and the body of the response is html rather than json

@aalej
Copy link
Contributor

aalej commented Jun 19, 2024

Hey @JonathonPenberthy, sorry to hear you encountered this issue and thanks for reporting this. Based on the error message, it looks like the cause of this might be related to #7341.

Currently, I’m able to run firebase functions:config:get --project PROJECT_ID on my end without any issue. Could you try running the command again to see if you would still encounter an error?

@aalej aalej added the Needs: Author Feedback Issues awaiting author feedback label Jun 19, 2024
@google-oss-bot
Copy link
Contributor

Hey @JonathonPenberthy. 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!

@joehan joehan closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants