Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vertex AI] Add error message for Firebase ML API not enabled #13007

Merged
merged 2 commits into from
May 21, 2024

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
42 checks passed
@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.
3 participants