menu search
brightness_auto
Ask or Answer anything Anonymously! No sign-up is needed!
more_vert

While using the youtube API to get the subscriptions, liked videos, upload videos and comments and update the channel details of the authenticated user in our angular project using youtube APIs, we are getting 403 Forbidden error. It states that request had insufficient authentication scope.


We have tried applying scope and access token to the API but still we get this error. Could any one help us with this error and provide suggestions based on it. 

{

"error" : {

           "code" : 403,

           "message" : "Request had insufficient authentication scopes",

           "errors" : {

             {

                   "message" : "Insufficient Permission",

                   "domain" : "global",

                   "reason" : "insufficientPermissions"

             }

}

}

2 Answers

more_vert
hello developer, I know u are very smart to work on such a nice project. But I would like to let u know that the google developers sitting their are not fuddu. They remember to use the private scope specifiers so that others cannot misuse it. And this is the reason for " insufficient authentication scopes " .
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
Only once the Users are authenticated (proven that they are whom they say they are), they are granted access to the API. After the OAuth server receives the authorisation code contained in our client secret json file, it can exchange the authorization code for an access token.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
Whenever you have a question in your mind, just drop it on Answeree. Help our community grow.
...