0

OST_OAUTH_SIGNATURE_INVALID_ERROR for YQL social.contacts

Please help with signing YQL queries.

We have the code that successully works with URLs like

http://social.yahooapis.com/v1/user/me/contacts

But there is an error for the URL

http://query.yahooapis.com/v1/yql?q=select%20*%20from%20social.contacts%20where%20guid%3Dme

The error message is

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

As I've red about YQL, and as I understand, the problem is signing the q parameter.

The q parameter is included in the signature base string as

%26q%3Dselect%2520%2A%2520from%2520social.contacts%2520where%2520guid%253Dme

I've also tried to use the unescaped form for q with the same result:

%26q%3Dselect%20%2A%20from%20social.contacts%20where%20guid%3Dme

What's wrong?

by
  • vs
  • Dec 6, 2013
0 Replies

Recent Posts

in OAuth General Discussion YDN SDKs