Yes, I don't think there's an option now other than ignoring those
errors and assuming the updates were successful. Apologies.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Mar 5, 5:29 pm, Michael <vejay_...@live.com> wrote:
> Hello Jeff,
>
> It's good to know that the issue is on the radar of the engineering team.
>
> I'm generally very apprehensive about coding a bypass for any returned
> batch errors.
>
> I have a working temporary solution and greatly appreciate such a quick
> response.
>
> As long as the coding of a bypass for the error is API usage policy
> compliant, I'm quite content.
>
> Cheers,
>
> Mike
>
>
>
>
>
>
>
> On Monday, March 5, 2012 4:35:20 PM UTC-5, Jeffrey Posnick wrote:
> > Hello Michael,
>
> > This sounds like an issue that was first reported at
>
> >https://groups.google.com/group/youtube-api-gdata/browse_thread/threa...
>
> > (that thread also contains a bug report about retrieving playlists,
> > but that issue should be fixed.)
>
> > The issue with spurious 500 internal errors being returned after a
> > successful playlist update unfortunately hasn't been addressed by the
> > engineering team yet, but it's on their radar of things that need to
> > be worked on soon. Apologies in the meantime.
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Mar 2, 2:37 pm, Michael <vejay_...@live.com> wrote:
> > > Below is the Feed Tag that is being used with the entry:
>
> > > <feed xmlns='http://www.w3.org/2005/Atom'
> > > xmlns:gd='http://schemas.google.com/g/2005'
> > > xmlns:yt='http://gdata.youtube.com/schemas/2007'
> > > xmlns:batch='http://schemas.google.com/gdata/batch'>
>
> > > <Entry XML>
>
> > > </feed>
>
> > > On Friday, March 2, 2012 2:07:00 PM UTC-5, Michael wrote:
>
> > > > Hello,
>
> > > > The following XML is being POSTed for repositioning a video in a
> > playlist:
>
> > > > <entry>
> > > > <batch:operation type="update"/>
> > > > <id>tag:youtube.com,2008:playlist:<Playlist ID>:<Media ID></id>
> > > > <link rel='edit' type='application/atom+xml' href='
> > > >https://gdata.youtube.com/feeds/api/playlists/<Playlist ID>/<Media ID>
> > > > ?v=2.1'/>
> > > > <yt:position>4</yt:position>
> > > > </entry>
>
> > > > The returned batch status code and reason is: 500 - Internal Error.
> > The
> > > > video is actually repositioned even though there was an internal
> > server
> > > > error. Since the batch yt:position tag will not be in the returned
> > XML
> > > > when there is an internal server error, it is not possible to verify
> > the
> > > > position change using only the returned XML for the update operation.
>
> > > > The '500 - Internal Error' status is being returned consistently -
> > > > regardless of the time of day or time period between batch operations.
>
> > > > I am currently requesting a Batch Query for every Batch [ Position ]
> > > > Update in order to verify the video was repositioned but, I would like
> > to
> > > > know why the '500 - Internal Error' status is being returned and if it
> > is
> > > > simply the result of pending API changes for Batch [ Position ]
> > Updates.
>
> > > > Thanks.
--
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 youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment