YoutubeDataAPI - Error 403 Forbidden when get youtube.members.list #898
Unanswered
victorchiq
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:
{
"error": {
"code": 403,
"message": "Access forbidden. The request may not be properly authorized.",
"errors": [
{
"message": "Access forbidden. The request may not be properly authorized.",
"domain": "youtube.common",
"reason": "forbidden"
}
]
}
}
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.
I tried the same access token that I used to call the /members endpoint for other endpoints an it worked successfully.
How can i solve this? Is there any more settings in the channel that needs to be changed?
Beta Was this translation helpful? Give feedback.
All reactions