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

[firebase_vertexai]: Invalid API enablement URL in error message #13542

Open
1 task done
ryanwilson opened this issue Oct 23, 2024 · 0 comments
Open
1 task done

[firebase_vertexai]: Invalid API enablement URL in error message #13542

ryanwilson opened this issue Oct 23, 2024 · 0 comments
Labels
Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. plugin: vertexai label issues for vertexai plugin type: bug Something isn't working

Comments

@ryanwilson
Copy link
Member

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:

The correct URL is https://console.firebase.google.com/project/PROJECT_ID/genai

Reproducing the issue

  1. Try to use Vertex AI in Firebase without enabling the API and get the error message.
  2. 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

@ryanwilson ryanwilson added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Oct 23, 2024
@ryanwilson ryanwilson changed the title [firebase_vertexai]: <YOUR TITLE HERE> Oct 23, 2024
@SelaseKay SelaseKay added platform: all Issues / PRs which are for all platforms. plugin: vertexai label issues for vertexai plugin labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. plugin: vertexai label issues for vertexai plugin type: bug Something isn't working
2 participants