嗨,我尝试使用谷歌的云计算愿景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。