Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Vertex AI create endpoint error - FAILED_PRECONDITION: Project xxxxxxxx is not active.

skp
Bronze 1
Bronze 1

Hi, 

I'm stuck at following error message when I try to create vertex-ai endpoint from workbench notebook.  I have enabled aiplatform.googleapis.com.

Command:
gcloud ai endpoints create \
--project=XXXXX
--region=us-central1 \
--display-name=ld-test-resnet-classifier

Using endpoint [https://us-central1-aiplatform.googleapis.com/]
ERROR: (gcloud.ai.endpoints.create) FAILED_PRECONDITION: Project XXXXXXXXXX is not active.

Please suggest what am I missing.

 

 

 

Solved Solved
0 1 814
1 ACCEPTED SOLUTION

skp
Bronze 1
Bronze 1

Hi,
The issue is resolved.
At least one model has to be uploaded first to model registry for this command to work.
The official documentation titled "Deploy a model using the Vertex AI API" - implies deploy a model uploaded to model registry".

Thanks for the views.

View solution in original post

1 REPLY 1

skp
Bronze 1
Bronze 1

Hi,
The issue is resolved.
At least one model has to be uploaded first to model registry for this command to work.
The official documentation titled "Deploy a model using the Vertex AI API" - implies deploy a model uploaded to model registry".

Thanks for the views.