Validation failed
Closed this issue · 3 comments
GoogleCodeExporter commented
= 0.7.2
youtube-upload:
python: Python 2.7.3
python-gdata: 2.0.17+dfsg-1
Trying to upload a movie:
Traceback (most recent call last):
File "/home/sascha/dev/python/youtube_upload.py", line 512, in <module>
sys.exit(catch_exceptions(EXIT_CODES, main, sys.argv[1:]))
File "/home/sascha/dev/python/youtube_upload.py", line 111, in catch_exceptions
fun(*args, **kwargs)
File "/home/sascha/dev/python/youtube_upload.py", line 509, in main
run_main(parser, options, args)
File "/home/sascha/dev/python/youtube_upload.py", line 444, in run_main
url = upload_video(youtube, options, video_path, len(args), index)
File "/home/sascha/dev/python/youtube_upload.py", line 359, in upload_video
data = youtube.get_upload_form_data(*args, **kwargs)
File "/home/sascha/dev/python/youtube_upload.py", line 193, in get_upload_form_data
post_url, token = self.service.GetFormUploadToken(entry)
File "/usr/lib/python2.7/dist-packages/gdata/youtube/service.py", line 721, in GetFormUploadToken
raise YouTubeError(e.args[0])
gdata.youtube.service.YouTubeError: {'status': 400, 'body': "<?xml
version='1.0'
encoding='UTF-8'?><errors><error><domain>yt:validation</domain><code>too_long</c
ode><location
type='xpath'>media:group/media:keywords/text()</location></error></errors>",
'reason': 'Validation Failed'}
Original issue reported on code.google.com by realriot
on 7 May 2013 at 7:59
GoogleCodeExporter commented
The exception is self-explanatory: Validation Failed,
media:group/media:keywords/text() is too_long
One of keywords (which should be separated by commas) is too long.
Btw, paste always the command you're running on bug reports.
Original comment by tokland
on 7 May 2013 at 8:04
- Changed state: Invalid
GoogleCodeExporter commented
Ack, thanks for your hint...
Original comment by realriot
on 8 May 2013 at 10:19
GoogleCodeExporter commented
Original comment by tokland
on 13 May 2014 at 8:32