Skip to content

Commit 957eb7f

Browse files
committed
Add more troubleshooting section
1 parent 674d2f6 commit 957eb7f

1 file changed

Lines changed: 25 additions & 5 deletions

File tree

README.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,33 @@ Error when reading or editing Project "<project-id>": Get "https://cloudresource
186186
compute: Received 500
187187
```
188188

189-
This is because authentication timed-out. To resolve,
189+
This error happens because authentication has timed-out. Here's how to resolve it:
190190

191-
1. Open a new terminal
192-
1. Run `terraform apply --auto-approve` in the terminal, click continue when prompted again to login
193-
1. Wait till the command completes
194-
1. Reload the web preview if necessary
191+
1. In Project IDX, open a new terminal.
192+
1. In the terminal, run `terraform apply --auto-approve`, and then click continue when prompted to log in.
193+
1. Wait until the command succeeds.
194+
1. Reload the web preview, if necessary.
195195

196+
```
197+
Error loading Gemini API key. Please rerun Terraform with terraform apply --auto-approve"
198+
```
199+
200+
This error happens because Terraform failed to provision some resources during initialization, such as API keys. Here's how to resolve it:
201+
202+
1. In Project IDX, open a new terminal.
203+
1. In the terminal, run `terraform apply --auto-approve`, and then click continue if prompted to log in.
204+
1. Wait until the command succeeds.
205+
1. Reload the web preview, if necessary.
206+
207+
```
208+
Check Firestore permissions in Firebase Console
209+
```
210+
211+
This error happens when Firestore rules are blocking requests from your app.
212+
213+
1. Go to Firebase Console following the link provided.
214+
1. Check that the rules is what you expect. In particular, `timestamp.date` should be in the future.
215+
1. Reload the web preview, if necessary.
196216

197217
## Docs
198218

0 commit comments

Comments
 (0)