youtube-upload
youtube-upload copied to clipboard
Error 400: invalid_request
Any help with this one please? Created new credentials but still I get the same issue.
Error 400: invalid_request The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method. Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
Not sure the best solution, but I have a solution.
changed in: init.py flow.redirect_uri = "http://127.0.0.1"
Then when you run your upload script, and go through Google's auth steps, you can just copy google's redirect response to your localhost (127.0.0.1) after the ?code= in the URL and paste that into your verification code.
I created an echo server in python to respond to requests on port 80 (but might not needed).
thank you for your reply. where is init.py? I am using raspbian. what a mess. i think i need some help with this
Not sure the best solution, but I have a solution.
changed in: init.py flow.redirect_uri = "http://127.0.0.1"
Then when you run your upload script, and go through Google's auth steps, you can just copy google's redirect response to your localhost (127.0.0.1) after the ?code= in the URL and paste that into your verification code.
I created an echo server in python to respond to requests on port 80 (but might not needed).
This worked for me, be sure to only copy the value of the get parameter.
@tharsdim Change this line and then run from sources, as per readme: https://github.com/tokland/youtube-upload/blob/6a30b55d0fd4976571a5b9b34c01fd41cec49c7a/youtube_upload/auth/init.py#L17
I got same issue:
Access blocked: ******.com’s request is invalid
******@gmail.com
You can’t sign in because elminasa.com sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of ******.com, see error details.
Error 400: invalid_request