views:

14

answers:

1

I got this error when using Youtube Direct: (link) when i try to upload video to Youtube.

"Could not retrieve YouTube upload token: 400: Upload token returned from YouTube API is null. Please make sure that all request parameters are valid."

Its hosted on appspot. My app is authenticated and developer key is provided. Did anyone had same problem?

EDIT: It seems that script dosnt post sessionId

"POST /GetUploadToken?sessionId=undefined HTTP/1.1"

In debug log i get 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>
A: 

Stupid error. The youtube requires "Video Title","Video Description" and "Tags". Those need to be at least two characters long.I was putting one.

Chris