You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
userMessage='Error loading Gemini API key. Please rerun Terraform with `terraform apply --auto-approve`';
149
+
userMessage=`Error loading Gemini API key. Please check GCP Console if API key was created at https://console.cloud.google.com/apis/credentials?project=${projectId}`;
145
150
}else{
146
151
userMessage=error.message;
147
152
}
148
153
duration=10000;
149
154
}
150
155
if(error.message.indexOf('Missing or insufficient permissions')>=0){
151
156
userMessage=
152
-
'Error communicating with Firestore. Please rerun Terraform with `terraform apply --auto-approve`';
157
+
`Error communicating with Firestore. Please check status at https://console.firebase.google.com/project/${projectId}/firestore`;
153
158
duration=10000;
154
159
}
155
160
if(error.message.indexOf('The query requires an index')>=0){
0 commit comments