File tree 1 file changed +7
-6
lines changed
packages/vertexai/src/requests
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -166,12 +166,13 @@ export async function makeRequest(
166
166
) {
167
167
throw new VertexAIError (
168
168
VertexAIErrorCode . API_NOT_ENABLED ,
169
- `The Vertex AI for Firebase SDK requires the Firebase Vertex AI API ` +
170
- `firebasevertexai.googleapis.com to be enabled for your ` +
171
- `project. Get started in the Firebase Console` +
172
- ` (https://console.firebase.google.com/project/${ url . apiSettings . project } /genai/vertex)` +
173
- ` or verify that the API is enabled in the Google Cloud` +
174
- ` Console (https://console.developers.google.com/apis/api/firebasevertexai.googleapis.com/overview?project=${ url . apiSettings . project } ).` ,
169
+ `The Vertex AI in Firebase SDK requires the Vertex AI in Firebase
170
+ API ('firebasevertexai.googleapis.com') to be enabled in your
171
+ Firebase project. Enable this API by visiting the Firebase Console
172
+ at https://console.firebase.google.com/project/${ url . apiSettings . project } /genai/
173
+ and clicking "Get started". If you enabled this API recently,
174
+ wait a few minutes for the action to propagate to our systems and
175
+ then retry.` ,
175
176
{
176
177
status : response . status ,
177
178
statusText : response . statusText ,
You can’t perform that action at this time.
0 commit comments