You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Data APIs Objective-C Client Library Discussion
I'm trying to add a video to the users Favorites and I'm getting error
code 501.
Here is the output in the console.
2009-04-23 21:00:34.021: Error Error
Domain=com.google.GDataServiceDomain Code=400 UserInfo=0x17a9deb0
"Operation could not be completed. (com.google.GDataServiceDomain
error 400.)"
2009-04-23 21:00:34.028: *** Assertion failure in -[NSTextFieldCell
_objectValue:forString:errorDescription:], /SourceCache/AppKit/
AppKit-949.43/AppKit.subproj/NSCell.m:1338
2009-04-23 21:00:34.030: Invalid parameter not satisfying: aString !=
nil
and this is how I'm adding.
GDataEntryYouTubeVideo *object = [results objectAtIndex:[resultsTable
selectedRow]];
[youTubeService fetchEntryByInsertingEntry:object forFeedURL:[NSURL
URLWithString:@"http://gdata.youtube.com/feeds/api/users/default/ favorites"] delegate:self didFinishSelector:nil
didFailSelector:@selector(entryListFetchTicket:failedWithError:)];
I've tried to get the current gdata-objective-c from svn and it didn't
fix it.
Thanks for the help,
Mr. Gecko
Mr. Gecko
unread,
Apr 24, 2009, 5:34:18 PM4/24/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Data APIs Objective-C Client Library Discussion
Ok, so I downloaded the latest svn and I get error 501 now.
2009-04-24 16:20:42.681 YouView[9560:10b] Error Error
Domain=com.google.GDataServiceDomain Code=501 UserInfo=0x17a5e7e0
"Operation could not be completed. (GData error noPostConcurrency:
"POST method does not support concurrency")"
2009-04-24 16:20:42.687 YouView[9560:10b] *** Assertion failure in -
<media:title type="plain">A day in the life of webmaster support</
media:title>
<media:description type="plain">Follow Googler Maile Ohye as she
goes through her day at Webmaster Central, our one-stop shop for
webmaster support and resources. Check out interviews with Googlers </
media:description>
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gdata-objec...@googlegroups.com
On Fri, Apr 24, 2009 at 5:34 PM, Mr. Gecko <GRMr...@gmail.com> wrote:
Ok, so I downloaded the latest svn and I get error 501 now.
If I'm remembering right there are some updates to the YT classes for newer features, so updating could have cause slightly different request to trigger the change in result code.
I can't say I'm very familiar with the YT api, you might want to try also posting your XML to the YT API group, as they can better speak to specifics of the server and API.
TVL
Mr. Gecko
unread,
Apr 25, 2009, 12:24:25 AM4/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Data APIs Objective-C Client Library Discussion
The "noPostConcurrency" error message is surprising. It implies that there is a header for the POST specifying that the ETag string should of the new entry be compared to the ETag of an entry already on the server, but that makes no sense for an insert operation, because a new entry is being uploaded. The http log included above does not also include the headers for the XML being posted, however, so I'm not certain what is being sent to the server.
I'd set a breakpoint in GDataServiceBase's method -requestForURL:ETag:httpMethod: to see what is being added to the POST header.
Fabio Nisci
unread,
Feb 16, 2013, 11:31:37 AM2/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gdata-objec...@googlegroups.com
confirm. still working solution! great!
Is there any way to check if a video is in favorite playlist?
I don't want to to scan the entire feed looking for a videoID....