badershs / youtube-upload

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

Cannot Upload Video: 403 Error #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
= Versions

youtube-upload:0.7.3
python:2.7.3
python-gdata:latest

= Describe the steps (including the command you run) that will reproduce
the problem?
# youtube-upload --email=jim@******.com --password=******* --title="MIT CRIBB" 
--description="Tounaka Lecture" --category=Education --keywords="Big Data" 
Tounaka_MIT-CRIBB_20130802.wmv
Login to Youtube API: email='jim@******.com', password='****************'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-upload", line 519, in <module>
    sys.exit(catch_exceptions(EXIT_CODES, main, sys.argv[1:]))
  File "/usr/local/bin/youtube-upload", line 111, in catch_exceptions
    fun(*args, **kwargs)
  File "/usr/local/bin/youtube-upload", line 516, in main
    run_main(parser, options, args)
  File "/usr/local/bin/youtube-upload", line 412, in run_main
    captcha_response=options.captcha_response)
  File "/usr/local/bin/youtube-upload", line 192, in login
    self.service.ProgrammaticLogin(captcha_token, captcha_response)
  File "/usr/lib/pymodules/python2.7/gdata/service.py", line 796, in ProgrammaticLogin
    raise Error, 'Server responded with a 403 code'
gdata.service.Error: Server responded with a 403 code

Original issue reported on code.google.com by j...@farpointventures.com on 4 Sep 2013 at 5:02

GoogleCodeExporter commented 9 years ago
same here

Original comment by remopini...@gmail.com on 4 Sep 2013 at 8:17

GoogleCodeExporter commented 9 years ago
The solution proposed in prior issues is no longer valid, it seems

Original comment by remopini...@gmail.com on 4 Sep 2013 at 10:02

GoogleCodeExporter commented 9 years ago
I found the problem for me (same issue)  Google recently asked me a series of 
questions that linked my Google+ account to my youtube account. This caused an 
extra step at each login asking which user I wanted to use for the login. This 
caused my script to fail mentioned above. I went into settings and disconnected 
this feature and the script now works. :-)

Original comment by QueryQu...@gmail.com on 10 Sep 2013 at 12:01

GoogleCodeExporter commented 9 years ago
@Jim, @remopini, did the suggestion by @QueryQueue helped?

Original comment by tokland on 11 Sep 2013 at 10:47

GoogleCodeExporter commented 9 years ago
#3 Solution solves the problem! Thanks

Original comment by justnetw...@gmx.eu on 13 Sep 2013 at 12:13

GoogleCodeExporter commented 9 years ago
Ok then, closing time.

Original comment by tokland on 13 Sep 2013 at 2:58

GoogleCodeExporter commented 9 years ago
I dont think we can disconnect G+ pages/profiles anymore, I see no such option

Original comment by ad...@ps4iso.net on 29 Sep 2013 at 7:48

GoogleCodeExporter commented 9 years ago
I receive the same error, what is the verdict to solving this problem? How do I 
disconnect the feature mentioned in #3? Thank you in advance

Original comment by timeless...@gmail.com on 3 Nov 2013 at 6:19

GoogleCodeExporter commented 9 years ago
I cannot reproduct the problem for now. Can anyone provide the full steps to do 
it?

Original comment by tokland on 4 Nov 2013 at 2:47

GoogleCodeExporter commented 9 years ago
I managed to solve the problem. Not by disconnecting the google+ from the 
channel, but by making a password for the google+ associated with the channel. 
My successful credentials include the auto-generated email address for the 
google+ account and my newly created password.

Thank you!

Original comment by timeless...@gmail.com on 4 Nov 2013 at 3:03

GoogleCodeExporter commented 9 years ago
@timelessvideo.miami: great! thanks for reporting back. I hope your comments 
help other users in the future.

Original comment by tokland on 4 Nov 2013 at 3:05

GoogleCodeExporter commented 9 years ago

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