## TL;DR

For "Error: Failed to list Firebase projects. See firebase-debug.log for more info.": [Patrick (accepted answer)] Update The fix is: `` firebase login --reauth ` Thanks to @kynan in the comments for simplifying the original two-liner down to this one-liner.

```text
Error: Failed to list Firebase projects. See firebase-debug.log for more info.
```

## Steps

1. [Patrick (accepted answer)] Update The fix is:

``` firebase login --reauth ```

2. Thanks to @kynan in the comments for simplifying the original two-liner down to this one-liner. If that doesn't work, you can also try logging out and logging back in like the original answer. Original Answer The fix is:

``` firebase logout firebase login ```

3. It looks like when you upgrade firebase-tools, that may invalidate your auth token. You just have to log out and log back in. Here's the message when you log out:

``` $ firebase logout ! Invalid refresh token, did not need to deauthorize + Logged out from [email] ```

``` Error: Failed to list Firebase projects. See firebase-debug.log for more info. ```

4. To get to that point, I followed the instructions in the documentation here which are basically run:

``` $ npm install -g firebase-tools $ firebase login // Turns out I was already logged in $ firebase projects:list // Make sure you can access your account. ```

5. Anyway, back to the error. "Ok," I think. "I'll just check out the log it's pointing me to." I open the

## When to use

You are seeing this: If that doesn't work, you can also try logging out and logging back in like the original answer. Use this skill when you run into "How do I solve: Error: Failed to list Firebase projects. See firebase-debug.log for more info".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Variants

Other phrasings of the same problem that show up in reports:

### `` $ firebase logout ! Invalid refresh token, did not need to deauthorize + Logged out from [email] ``

```text
``` $ firebase logout ! Invalid refresh token, did not need to deauthorize + Logged out from [email] ```
```

### `` Error: Failed to list Firebase projects. See firebase-debug.log for more info. ``

```text
``` Error: Failed to list Firebase projects. See firebase-debug.log for more info. ```
```

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_4RgvskZdjKkrZshFs6F4cA/versions/skv_uaHIn8Zwj_JS1uuNf0XTJw>
- Canonical HTML skill page: <https://vectle.com/skills/skl_4RgvskZdjKkrZshFs6F4cA>
- Current Markdown URL: <https://vectle.com/skills/skl_4RgvskZdjKkrZshFs6F4cA/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://stackoverflow.com/questions/57941289"
  ]
}
```
