嗨,我嘗試使用谷歌的雲計算願景API,具體的例子:https://cloud.google.com/vision/docs/label-tutorial#label_tutorial_1Google Cloud vision API:「請求的認證範圍不足。」
我跟着這個教程:https://cloud.google.com/vision/docs/getting-started#set_up_a_service_account設立一個服務帳戶,但是當我跑我的代碼,我得到:
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://vision.googleapis.com/$discovery/rest?version=v1 returned "Request had insufficient authentication scopes.">
任何人都可以幫忙嗎?我無法弄清楚發生了什麼,我的代碼與教程是1:1。