0

Bad Request ( YQL oAUTH)


While sending a query on Social.profile table wiht C# i am getting " Bad Request Error"

here is the details :
Added Headers :
{Authorization: OAuth realm:"yahooapis.com",oauth_consumer_key="dj0yJmk9TUlQVERIYmExSUc5JmQ9WVdrOVpubzFaelpSTXpnbWNHbzlNVEk0T1RFeU5UTTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD1lZA--",oauth_nonce="6797731", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1327991994", oauth_token="A%3D.2O6FG79shrpYQyNHJVMUAWWOCbxwz4TzbFK1_q05a4ISixW4x2Kp9CvL3BBwhOpL6j6LI4DDkjLAJ7jxbXpAYUVtJeBM9nxuG5YZnjhAQB2x22X_M_VB.aGpECDiYaH7q1eyX1vHoth.1sPUwuATADE7Qrvmnd60NR2cSbqkV5N1IdQDEJ.OUipnSDCpcVSvlssHkKJlghwcOKIjeD8Fn5BPowJmjNDE5AG3nctZnRIpHIjC9XhCgW4bB0u2NnGAufzcDK0hglkxBXItt3LR5ahmKtcRzDEG3jvDQ_.5BxudRqs.FVNw1tyWMvSkwZiapqgmh_ilfqbaGyfj19hg47r20STMb87htL5d4MLL9wPazA_yqoc9J2PPzVzHm4idWl0qWm4AzX1twReaBcCZ8a41e3q75bb2XymkiCptM0zckoSaEqZ_8_bNnfxHUhYu4sFLb0RxV4BkIJOuZrOgcxlJRq3l1s6C3UPlboQy07cfswppU2drt4XtZJpWhYSrw814oatL_xuhm2q6Keu33a_JAug2vwtU3g1OA8ORESrcQgEqUDVdWpzWhbQ.f2gReZtjXx2zj4hSp64IM6eZ5iMThwUisj6ZbkPLKd8AXw9TAIxuOxctUkm21rtOG6AALykS04dRpTMuYJYuUDhlzXMU.nda2sISca9k84srNLX6GbKMTR51WEj15SH.uIS4kE8lVJV7wlx1TlJaPiAd1JujdA7rxTuyKGVC23tLBzRM6Pb6D70o.ClKi84dGFs7m7IUrrV8L5.cEWqDZFgqOP6yDzW5RtAszHsOZDww1G7_YjOzFQFYksKhzL9Agi2l70pXT2AvfbYIaILgw--", oauth_version="1.0",oauth_signature="QO4JdmjpP5TfgAgR0j6hwtlhTxk=",oauth_callback="cbfunc"
Host: query.yahooapis.com
Connection: Keep-Alive

}

Url :

http://query.yahooapis.com/v1/yql?q=select * from social.profile where guid in(select guid from yahoo.identity where yid=""{0}"");&diagnostics=true,UserName ( Passing Username to {0} )


Let me know where i went wrong!
Cheers!   
Amitsingh

by
3 Replies
  • Hi Amitsingh, <br><br>Are you still seeing this issue? Can you provide the HTTP request headers instead of the JSON representation of the additional header? <br><br>Thanks.<br><br>stephen
    0
  • Hi Stephen,<br>Problem got solved. It was my bad! :( .<br><br>Thanks,<br>Amit
    0
  • How did you solve this problem? I have the same issue.

    0

Recent Posts

in YQL