Comment #6 on issue 132 by tom.h.mi...@gmail.com: Invalid YouTube category
causes upload failure
http://code.google.com/p/googlecl/issues/detail?id=132
Seems like the docs are at least good enough that no one has complained of
a similar error in a few months, so I'm going to close this issue. If
anyone has suggestions on making the docs clearer, please chime in here or
on the discussion group.
Well I had complaints of the error, but I settled with starring this issue.
I don't think the problem is really the docs, as such, but googlecl which
should tell me *why* the upload didn't succeed. Or, better yet, have a
error-check /before/ even attempting to do the upload if indeed there's no
doubt what so ever it will fail with no category.
I've cleaned up (r491) the error message that YouTube spits out for an
invalid category. Now it's actually human-intelligible, and directs the
user to the docs.
I didn't want to put in the pre-check in case YouTube changes the
categories around. If anyone can find a reliable way to query YouTube for a
list of valid categories, that would be very helpful.
The URL in the errors/error/location of the response body has a url which
itself is an XML category list - or is the issue that you don't have any
basis for looking there before actually getting an error?
This error is because of the ampersend(&) in the category, if you select a
single word category, then the process goes smoothly, otherwise create an
error.
This error is because of the ampersand(&) in the category name,if you
select a single word category then the file is uploaded smoothly through
youtube API.