I am trying to remove a video from a playlist using Zend Gdata library.
I am using the delete method of the PlaylistVideoEntry as follows:
I am getting the following error:
*Fatal error*: Uncaught exception 'Zend_Gdata_App_HttpException' with
message 'Expected response code 200, got 401 <HTML> <HEAD> <TITLE>Unknown
authorization header</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"
TEXT="#000000"> <H1>Unknown authorization header</H1> <H2>Error 401</H2>
</BODY> </HTML> '
The strange thing is that I can use the same YouTube API connection object
to delete entire videos so it seems the authentication is valid. There
seems to be be something different about how the delete method is handled
for playlist video entries. Any help would be appreciated.