Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3718

Error 403 Forbidden when get youtube.members.list, even after right scopes authorization

$
0
0

I am trying to use the endpoint /youtube/v3/members from YoutubeDataAPI, but even after the successful channel authorization with OAuth2, i keep getting the error

(403)   Access forbidden. The request may not be properly authorized.domain: youtube.com

The authentication scopes that i used were:"https://www.googleapis.com/auth/youtube.channel-memberships.creator", "https://www.googleapis.com/auth/youtube.readonly"

I get the access_token, but when i call the API (direct in node.js with 'googleapis' youtube.members.list; or with Postman), i still get the 403 error. And yes, the API is enabled in my console.cloud, and my Oauth credential ID is WEB APP.

How can i solve this? Is there any more settings in the channel that needs to be changed?

I followed the documentation from https://developers.google.com/youtube/v3/docs/members/list, and also asked for help in Gemini-pro-1.5, but no success...

I expect to receive the members list from the channel.


Viewing all articles
Browse latest Browse all 3718

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>