I'm trying to edit/change descriptions on my YouTube Brand Channel via the YouTube Data API v3, and continuously running into HTTP 403 errors ("forbidden").
I followed the YouTube Data API docs on setting up a project in google cloud console, and the proper credentials, and can successfully run the API code samples from the docs to test my OAuth2.0 credentials (and client_secret.json) from my terminal.
However, after running that authenticating code (which redirects me to the browser) and using the provided key, my python script then tries to run:
youtube.videos()
.update(part="snippet", body=body)
.execute()
and gets the following error...
<HttpError 403 when requesting https://youtube.googleapis.com/youtube/v3/videos?part=snippet&alt=json returned "Forbidden". Details: "[{'message': 'Forbidden', 'domain': 'youtube.video', 'reason': 'forbidden'}]">
I have triple-checked my keys/credentials/secret, and am using code taken right from the YouTube api samples, just refactored with my channel specifics.
Please help!