YouTube Data API - Can't access /members
endpoint despite being in YouTube Partner Program (403 error)
I'm facing the same issue! Our stakeholder is part of the YouTube Partner Program, which, according to the Google support team, is required to access the /members
endpoint if you don't have a direct Google or YouTube representative.
Here's what I have in place:
My app is verified in the Google Cloud Console with the following confidential YouTube API scopes:
https://www.googleapis.com/auth/youtube.readonly
https://www.googleapis.com/auth/youtube.channel-memberships.creator
The account requesting access to the /members
endpoint is part of the YouTube Partner Program.
I'm trying to call this endpoint:
GET https://www.googleapis.com/youtube/v3/members
Using the channel account (the one in the Partner Program) via the application that has the required scopes.
Here’s the response I get:
{
"message": "Request failed with status code 403",
"name": "AxiosError",
"config": {
"headers": {
"Accept": "application/json, text/plain, */*",
"Authorization": "Bearer _token",
"User-Agent": "axios/1.7.2",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"params": {
"part": "snippet",
"maxResults": 50
},
"method": "get",
"url": "https://www.googleapis.com/youtube/v3/members"
},
"code": "ERR_BAD_REQUEST",
"status": 403
}
I've searched extensively and found many developers encountering the same issue, but no confirmed solutions.
Digging deeper, I found a Stack Overflow thread that discusses integrating YouTube memberships with a Discord server. They seem to have found a workaround by using the Discord API to manually check if a user who is a YouTube member also exists in a Discord server. However, this feels like a problem transfer, not a proper solution.
Has anyone successfully accessed the /members
endpoint without a direct Google/YouTube rep, but using only the YouTube Partner Program eligibility?
Is there something specific or hidden required beyond scopes and being in the Partner Program?
Are there additional permissions or manual approvals that need to be done in the Google Cloud Console or YouTube Studio?