-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.platform: allIssues / PRs which are for all platforms.Issues / PRs which are for all platforms.plugin: vertexailabel issues for vertexai pluginlabel issues for vertexai plugintype: bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues.
Which plugins are affected?
Other
Which platforms are affected?
Android, iOS, macOS, Web, Windows
Description
The error message for Vertex AI in Firebase's API enablement is incorrect:
'https://console.firebase.google.com/$_projectId/genai ' |
the project ID appears to be parsed from this error:
ServiceApiNotEnabled(projectId), |
The correct URL is https://console.firebase.google.com/project/PROJECT_ID/genai
Reproducing the issue
- Try to use Vertex AI in Firebase without enabling the API and get the error message.
- Try to navigate to the link provided, it will fail.
This was discovered in #13530 (comment)
Firebase Core version
2.31.0
Flutter Version
3.22.2
Relevant Log Output
DartError: The Vertex AI in Firebase SDK requires the Vertex AI in Firebase API (`firebasevertexai.googleapis.com`) to be enabled in your Firebase project. Enable this API by visiting the Firebase Console at https://console.firebase.google.com/projects/PROJECT_ID/genai and clicking "Get started". If you enabled this API recently, wait a few minutes for the action to propagate to our systems and then retry.
Flutter dependencies
N/A
Additional context and comments
No response
Metadata
Metadata
Assignees
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.platform: allIssues / PRs which are for all platforms.Issues / PRs which are for all platforms.plugin: vertexailabel issues for vertexai pluginlabel issues for vertexai plugintype: bugSomething isn't workingSomething isn't working