Skip to content

Conversation

@andrewheard
Copy link
Contributor

@andrewheard andrewheard commented May 21, 2024

If a developer tries to use the Vertex AI SDK without going through the Firebase Console setup flow then they will receive an error saying:

Firebase ML API has not been used in project 1234567890 before or it is disabled...

Since it may not be clear that the firebaseml.googleapis.com API is needed for Vertex AI, added a more detailed log message with direct links to the Firebase Console page:

The Vertex AI for Firebase SDK requires the Firebase ML API firebaseml.googleapis.com to be enabled for your project. Get started in the Firebase Console (https://console.firebase.google.com/project/my-project-id/genai/vertex) or verify that the API is enabled in the Google Cloud Console (https://console.developers.google.com/apis/api/firebaseml.googleapis.com/overview?project=my-project-id).

#no-changelog

@andrewheard andrewheard requested a review from paulb777 May 21, 2024 21:37
@andrewheard andrewheard merged commit 05a5426 into main May 21, 2024
@andrewheard andrewheard deleted the ah/vertex-firebaseml-error branch May 21, 2024 21:50
@firebase firebase locked and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants