mrdbourke / cs329s-ml-deployment-tutorial

Code and files to go along with CS329s machine learning model deployment tutorial.

Home Page:https://youtu.be/fw6NMQrYc6w

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

403 api enabled but error

fig007 opened this issue · 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.