java - Youtube Direct API: Could not retrieve YouTube upload token: 400 -


i got error when using youtube direct: (link) when try upload video youtube.

"could not retrieve youtube upload token: 400: upload token returned youtube api null. please make sure request parameters valid."

its hosted on appspot. app authenticated , developer key provided. did had same problem?

edit: seems script dosnt post sessionid

"post /getuploadtoken?sessionid=undefined http/1.1" 

in debug log warning:

<?xml version='1.0' encoding='utf-8'?> <errors><error><domain>yt:validation</domain> <code>too_short</code> <location type='xpath'>media:group/media:keywords/text() </location></error></errors> 

stupid error. youtube requires "video title","video description" , "tags". need @ least 2 characters long.i putting one.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -