Authenticating with Google oAuth InstalledAppFlow from Python to access Youtube Data API failing
I have a relatively simple script to authenticate my google account with the youtube data API so that I may manage my channel from the commandline for purposes such as scheduling streams and modifying their title. I have tried using different google accounts for creating and setting up the youtube data api and credentials in the google cloud console, as well as authenticating with different accounts. I cannot get this auth script to work. It launches my web browser, and no matter what google account I select to login with, it fails by saying either something went wrong please try again or it brings me to an error 400 screen that says “the server cannot process the request because it is malformed. It should not be retried. That’s all we know”.