cs329s-ml-deployment-tutorial icon indicating copy to clipboard operation
cs329s-ml-deployment-tutorial copied to clipboard

403 api enabled but error

Open fig007 opened this issue 2 years ago • 0 comments

Hitting this error on a local instance trying to predict:

HttpError: <HttpError 403 when requesting https://us-west1-ml.googleapis.com/v1/projects/foodml/models/foodml_1:predict?alt=json returned "AI Platform Training & Prediction API has not been used in project 37288436933 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/ml.googleapis.com/overview?project=37288436933 then retry.

The API is enabled but the project number seems incorrect in the above message.

fig007 avatar Jun 07 '22 05:06 fig007