manimalx / youtube-upload

Automatically exported from code.google.com/p/youtube-upload
0 stars 0 forks source link

gdata.service.Error: Server responded with a 403 code #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
youtube-upload: youtube-upload-0.7.3
python: python-2.6.6-51.el6.x86_64
python-gdata: python-gdata-2.0.11-1.el6.noarch

Running youtube-upload --email=sadact@gmail.com --password='******' 
--title="uploadtest" --description="test" --category=Games --keywords="test" 
test.avi

Result is

Traceback (most recent call last):
  File "/usr/bin/youtube-upload", line 519, in <module>
    sys.exit(catch_exceptions(EXIT_CODES, main, sys.argv[1:]))
  File "/usr/bin/youtube-upload", line 111, in catch_exceptions
    fun(*args, **kwargs)
  File "/usr/bin/youtube-upload", line 516, in main
    run_main(parser, options, args)
  File "/usr/bin/youtube-upload", line 412, in run_main
    captcha_response=options.captcha_response)
  File "/usr/bin/youtube-upload", line 192, in login
    self.service.ProgrammaticLogin(captcha_token, captcha_response)
  File "/usr/lib/python2.6/site-packages/gdata/service.py", line 797, in ProgrammaticLogin
    raise Error, 'Server responded with a 403 code'
gdata.service.Error: Server responded with a 403 code

Have read all the other threads with the same issue, haven't found a way to fix 
yet.

Original issue reported on code.google.com by Sad...@gmail.com on 19 Dec 2013 at 5:56

GoogleCodeExporter commented 9 years ago
> Have read all the other threads with the same issue, haven't found a way to 
fix yet.

Have you tried a browser upload first to check everything is ok?

Original comment by tokland on 25 Dec 2013 at 7:01

GoogleCodeExporter commented 9 years ago
This is related to the migration to Google+.
You have to go to your YouTube channel settings, then to Advanced settings, and 
set a Password for that channel.
You'll then get a fake-email for that channel, which is @pages.plusgoogle.com.
Then you have to use that as email for youtube-upload, together with the 
password you just set.

Original comment by timo@rothenpieler.org on 12 Jan 2014 at 3:15

GoogleCodeExporter commented 9 years ago

Original comment by tokland on 3 Mar 2014 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by tokland on 13 May 2014 at 8:32