Skip to content

Commit a4b3a02

Browse files
authored
Update service disabled wording (#6326)
New wording more clearely describes the steps to take to solve the issue.
1 parent 5558564 commit a4b3a02

File tree

1 file changed

+6
-5
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common

1 file changed

+6
-5
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common/APIController.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,12 @@ private suspend fun validateResponse(response: HttpResponse) {
247247
val errorMessage =
248248
if (it.metadata?.get("service") == "firebasevertexai.googleapis.com") {
249249
"""
250-
The Vertex AI for Firebase SDK requires the Firebase Vertex AI API
251-
`firebasevertexai.googleapis.com` to be enabled for your project. Enable it by visiting
252-
the Firebase Console at https://console.firebase.google.com/project/${Firebase.options.projectId}/genai/vertex then
253-
retry. If you enabled this API recently, wait a few minutes for the action to propagate
254-
to our systems and retry.
250+
The Vertex AI in Firebase SDK requires the Vertex AI in Firebase API
251+
(`firebasevertexai.googleapis.com`) to be enabled in your Firebase project. Enable this API
252+
by visiting the Firebase Console at
253+
https://console.firebase.google.com/project/${Firebase.options.projectId}/genai
254+
and clicking "Get started". If you enabled this API recently, wait a few minutes for the
255+
action to propagate to our systems and then retry.
255256
"""
256257
.trimIndent()
257258
} else {

0 commit comments

Comments
 (0)