0

This authentication has stopped working for me

Hi

I've been using a C# class to build requests to the YQL REST API http://oauth.googlecode.com/svn/code/csharp/OAuthBase.cs.

This was working fine around Christmas time but it doesn't work for me any more. The error I get is:

Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_SIGNATURE_INVALID_ERROR", realm="yahooapis.com"

Has something changed since then with respect to authentication or could there be another reason I can no longer access the authenticated version of the APIs (with exactly the same code).

Many thanks
Phil

3 Replies
  • Hi Phil,

    Can you please send the complete HTTP request and response headers?
    The message indicates signature calculation error.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • Hi

    Just returning to this issue as I was unable to find a resolution. Any help much appreciated as I am out of my depth.

    An example url is:

    http://query.yahooapis.com/v1/yql?q=select...LxFO+M+yqwMNjE=

    The request headers are:

    Host: query.yahooapis.com
    Connection: Keep-Alive

    The response headers are:

    Vary: Accept-Encoding
    Age: 0
    Transfer-Encoding: chunked
    Connection: keep-alive
    Content-Type: application/xml;charset=UTF-8
    Date: Thu, 02 Jun 2011 15:34:31 GMT
    Server: YTS/1.19.8
    WWW-Authenticate: OAuth oauth_problem="OST_OAUTH_SIGNATURE_INVALID_ERROR", realm="yahooapis.com"

    Thanks
    Phil
    0
  • Guys, I dont know much about coding and integrating OpenIDs like Yahoo but I did it using a free web service NyaLogin (website www.nyalog.in ) It just generates code for us and there are other OpenIDs to select from, I mean I picked 10 IDs together, they are working good. Its pretty easy to implement coz if a newbie like me can do it, than why cant you lol

    QUOTE (philwith007 @ Jun 2 2011, 07:43 AM) <{POST_SNAPBACK}>
    Hi

    Just returning to this issue as I was unable to find a resolution. Any help much appreciated as I am out of my depth.

    An example url is:

    http://query.yahooapis.com/v1/yql?q=select...LxFO+M+yqwMNjE=

    The request headers are:

    Host: query.yahooapis.com
    Connection: Keep-Alive

    The response headers are:

    Vary: Accept-Encoding
    Age: 0
    Transfer-Encoding: chunked
    Connection: keep-alive
    Content-Type: application/xml;charset=UTF-8
    Date: Thu, 02 Jun 2011 15:34:31 GMT
    Server: YTS/1.19.8
    WWW-Authenticate: OAuth oauth_problem="OST_OAUTH_SIGNATURE_INVALID_ERROR", realm="yahooapis.com"

    Thanks
    Phil
    0

Recent Posts

in OAuth General Discussion YDN SDKs