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.
Choquito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.