I'm getting the same response:
{"error":{"lang":"en-US","description":"Authentication Error. The table social.contacts requires a higher security level than is provided, you provided APP but at least USER is expected"}}
My application's keys grant Read permissions for Contacts. Is there any way I can get more debug information? Do you have any idea why I'd be getting this error?
Thanks
QUOTE (Johnny @ 23 Jan 2012 8:19 PM) I increased my Mail API key to 'full access' and still get the same error.
Here's the query I'm using after obtaining a YOSSession:
YQLQueryRequest *request = [ YQLQueryRequest requestWithSession : self . session ];
[request query : @"select * from ymail.messages" withDelegate : self ];
And here's my delegate callback error:
2012-01-23 22:15:24.038 SocialSample[6337:f803] -[SocialSampleAppDelegate requestDidFinishLoading:]: {"error":{"lang":"en-US","description":"Authentication Error. The table ymail.messages requires a higher security level than is provided, you provided APP but at least USER is expected"}}
Do you have any other ideas?
~Johnny
QUOTE (Ram @ 23 Jan 2012 2:38 PM)
Try increasing the permissions of your key for yahoo mail access. Thanks.
--R
QUOTE (Johnny @ 19 Jan 2012 9:03 PM) Any idea why the query ' select folder.unread from ymail.messages where numMid='9' gives me this error:
2012-01-19 22:59:49.615 SocialSample[14426:f803] {"error":{"lang":"en-US","description":"Authentication Error. The table ymail.messages requires a higher security level than is provided, you provided APP but at least USER is expected"}}
I based this query off of an example on http://developer.yahoo.com/mail
Thanks,
Johnny