Loading...

youtube-api-gdata@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[YouTube-API] Re: The operation couldn’t be comple ted.failedWithStatus:400 data Jeffrey Posnick Tue Feb 21 15:01:01 2012

Hello,

 As the error indicates, the value you're providing for the keywords
element is too long. Try to use something shorter—I believe the
current limit on characters is around 500 total for all keywords.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Feb 21, 1:35 am, viswanath beere <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> I am trying to integrating YOUTUBE video upload functionality in my iphone
> and ipad project by using gdata code .when upload i am getting below type
> of error in my project.could please tell what is problem .
>
> serviceBase:<GDataServiceGoogleYouTube: 0x23f080>
> objectFetcher:<GDataHTTPUploadFetcher: 0x2255f0> failedWithStatus:400
> data:<?xml version='1.0'
> encoding='UTF-8'?><errors><error><domain>yt:validation</domain><code>too_lo 
> ng</code><location
> type='xpath'>media:group/media:keywords/text()</location></error></errors>
> 2012-02-21 11:58:05.421 YouTubeTest[6208:707] error:Error
> Domain=com.google.GDataServiceDomain Code=400 "The operation couldn’t be
> completed. (<?xml version='1.0'
> encoding='UTF-8'?><errors><error><domain>yt:validation</domain><code>too_lo 
> ng</code><location
> type='xpath'>media:group/media:keywords/text()</location></error></errors>) "
> UserInfo=0x225b60 {NSLocalizedFailureReason=(<?xml version='1.0'
> encoding='UTF-8'?><errors><error><domain>yt:validation</domain><code>too_lo 
> ng</code><location
> type='xpath'>media:group/media:keywords/text()</location></error></errors>) ,
> error=<?xml version='1.0'
> encoding='UTF-8'?><errors><error><domain>yt:validation</domain><code>too_lo 
> ng</code><location
> type='xpath'>media:group/media:keywords/text()</location></error></errors>}
>
> Could please  help me .
>
> thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"YouTube APIs Developer Forum" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/youtube-api-gdata?hl=en.