0

Receiving error while accessing yahoo mail API

Hello,

I'm developing yahoomail client for Windows Phone 7 using oAuth in Silverlight. I could successfully login to yahoo by oAuth and received a valid session handle. But when i try to access yahoomail api i getting error response as " Please validate credentials" oAuth oAuth_Problem = token_rejected. May i know want could be the issue?

Method = POST
url = http://mail.yahooapis.com/ws/mail/v1.1/soap
realm = yahooapis.com
Signature mode: HMAC-SHA1


Error Message

<?xml version='1.0' encoding='UTF-8'?>\n<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'\n xml:lang='en-US'>\n <yahoo:description>Please provide valid credentials. OAuth oauth_problem=\"token_rejected\", realm=\"yahooapis.com\"</yahoo:description>\n</yahoo:error>\n<!-- mg012.mail.mud.yahoo.com uncompressed/chunked Fri Dec 3 10:18:26 UTC 2010 -->\n"

Thanks
Siju

by
1 Reply
  • Hello,

    Please refer the reason for getting 'token_rejected' Oauth error code here. Thanks

    --R

    QUOTE (siju @ Dec 3 2010, 02:19 AM) <{POST_SNAPBACK}>
    Hello,

    I'm developing yahoomail client for Windows Phone 7 using oAuth in Silverlight. I could successfully login to yahoo by oAuth and received a valid session handle. But when i try to access yahoomail api i getting error response as " Please validate credentials" oAuth oAuth_Problem = token_rejected. May i know want could be the issue?

    Method = POST
    url = http://mail.yahooapis.com/ws/mail/v1.1/soap
    realm = yahooapis.com
    Signature mode: HMAC-SHA1


    Error Message

    <?xml version='1.0' encoding='UTF-8'?>\n<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'\n xml:lang='en-US'>\n <yahoo:description>Please provide valid credentials. OAuth oauth_problem=\"token_rejected\", realm=\"yahooapis.com\"</yahoo:description>\n</yahoo:error>\n<!-- mg012.mail.mud.yahoo.com uncompressed/chunked Fri Dec 3 10:18:26 UTC 2010 -->\n"

    Thanks
    Siju
    0

Recent Posts

in Yahoo! Mail Web Services API