Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 23ceae6

Browse files
authored
Update RBE troubleshooting (#54568)
Add `could not get valid Application Default Credentials token` troubleshooting
1 parent f2c7fcf commit 23ceae6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/rbe/rbe.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,20 @@ of the single parameter `rebase_path()`.
145145

146146
## Troubleshooting
147147

148+
### Error obtaining credentials
149+
150+
If you get the following error while running `et build`:
151+
152+
```shell
153+
E0815 09:30:03.169505 1413247 main.go:147] Error obtaining credentials: application default credentials were invalid: could not get valid Application Default Credentials token: oauth2: cannot fetch token: 400 Bad Request
154+
```
155+
156+
Check your `${HOME}/.config/gcloud/application_default_credentials.json` to see if you are signed into another project / account. Run the following to reset the default credentials:
157+
158+
```shell
159+
gcloud auth application-default login
160+
```
161+
148162
### Slow builds
149163

150164
RBE builds can be slow for a few different reasons. The most common reason is

0 commit comments

Comments
 (0)