Google Cloud vision API: "Request had insufficient authentication scopes."

389 views
Skip to first unread message

Rali Tsanova via StackOverflow

unread,
Mar 7, 2016, 9:45:04 AM3/7/16
to google-appengin...@googlegroups.com

Hi I'm trying to use google's cloud vision API, specifically this example: https://cloud.google.com/vision/docs/label-tutorial#label_tutorial_1

I followed this tutorial: https://cloud.google.com/vision/docs/getting-started#set_up_a_service_account for setting up a service account but when I run my code I get: googleapiclient.errors.HttpError: https://vision.googleapis.com/$discovery/rest?version=v1 returned "Request had insufficient authentication scopes.">

Can anybody help? I can't figure out what's going on, my code is 1:1 with the tutorials.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/35846446/google-cloud-vision-api-request-had-insufficient-authentication-scopes

Rali Tsanova via StackOverflow

unread,
Mar 7, 2016, 10:00:09 AM3/7/16
to google-appengin...@googlegroups.com

Hi I'm trying to use google's cloud vision API, specifically this example: https://cloud.google.com/vision/docs/label-tutorial#label_tutorial_1

I followed this tutorial: https://cloud.google.com/vision/docs/getting-started#set_up_a_service_account for setting up a service account but when I run my code I get:

googleapiclient.errors.HttpError: <HttpError 403 when requesting https://vision.googleapis.com/$discovery/rest?version=v1 returned "Request had insufficient authentication scopes.">
Reply all
Reply to author
Forward
0 new messages