title: Batch Delete Videos From YouTube Favorites Playlist
body: <p>I am trying to batch delete videos from the user his YouTube favorites using the YouTube v2 API. (See also <a href="https://developers.google.com/youtube/2.0/developers_guide_protocol_batch_processing" rel="nofollow">https://developers.google.com/youtube/2.0/developers_guide_protocol_batch_processing</a>)</p>
  
  <p>Posting videos to the favorites in batch works nicely; and I can also remove single videos from the favorites without problem (This rules out a problem with authentication).</p>
  
  <p>My request body is as follows, where <code>VIDEOID1</code> and <code>VIDEOID2</code> are the <code>&lt;yt:favoriteId&gt;</code>Ids found in their corresponding video xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;feed xmlns='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:yt='http://gdata.youtube.com/schemas/2007'&gt;
      &lt;batch:operation type="delete"/&gt;
      &lt;entry&gt;&lt;id&gt;VIDEOID1&lt;/id&gt;&lt;/entry&gt;
      &lt;entry&gt;&lt;id&gt;VIDEOID2&lt;/id&gt;&lt;/entry&gt;
  &lt;/feed&gt;
  </code></pre>
  
  <p>This is the response I get back however, where <code>UserID</code> ofcourse is the userID of the user and <code>BatchID</code> is the BatchID given by the service:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
  
  &lt;feed xmlns='http://www.w3.org/2005/Atom'&gt;
     &lt;id&gt;https://gdata.youtube.com/feeds/api/users/USERID/favorites/batch/BATCHID&lt;/id&gt;
     &lt;updated&gt;2014-01-31T14:50:54.948Z&lt;/updated&gt;
     &lt;category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#favorite'/&gt;
     &lt;title&gt;Batch Feed&lt;/title&gt;
     &lt;entry xmlns:batch='http://schemas.google.com/gdata/batch'&gt;      
         &lt;id&gt;VIDEOID1&lt;/id&gt;
         &lt;updated&gt;2014-01-31T14:50:54.948Z&lt;/updated&gt;
         &lt;title&gt;Error&lt;/title&gt;
         &lt;content&gt;Invalid entry Id/Uri&lt;/content&gt;
         &lt;batch:status code='400' reason='Invalid entry Id/Uri'/&gt;
     &lt;/entry&gt;
     &lt;entry xmlns:batch='http://schemas.google.com/gdata/batch'&gt;
         &lt;id&gt;VIDEOID2&lt;/id&gt;
         &lt;updated&gt;2014-01-31T14:50:54.949Z&lt;/updated&gt;
         &lt;title&gt;Error&lt;/title&gt;
         &lt;content&gt;Invalid entry Id/Uri&lt;/content&gt;
         &lt;batch:status code='400' reason='Invalid entry Id/Uri'/&gt;
      &lt;/entry&gt;
  &lt;/feed&gt;
  </code></pre>
  
  <p>It states <code>Invalid entry Id/Uri</code> for the videos I try to remove, while when I remove them by singular delete request with the same ID, it works.</p>
  
  <p>Is batch deleting videos from favorites not supported, or am I missing something? </p>