0

Getting error while using YAP:" This application cannot make authentication requests on user's behalf"

Log:
cannot find version 3 for keyName tcookie-validate.secret
Unable to find the right key from keydb
[Wed Dec 3 03:20:26 2008] [notice] [client 10.66.75.99] Y/T cookies invalid (integrity)
[Wed Dec 3 03:20:27 2008] [error] ERROR - HTTP request failed
[Wed Dec 3 03:20:27 2008] [error] ERROR OBJECT - Array
(
[method] => POST
=> [url="https://api.login.yahoo.com/oauth/v2/get_request_token"]https://api.login.yahoo.com/oauth/v2/get_request_token
[code] => 400
[requestHeaders] => Array
(
[0] => Accept: application/json
[1] => Content-Type: application/x-www-form-urlencoded
)

[requestBody] => oauth_version=1.0&oauth_nonce=a12e8fe412fa56ae55a7c9f5a56ddf74&oauth_timestamp=1228303226&oauth_consumer_key=dj0yJmk9WGptWTdkNFFKSHFqJmQ9WVdrOWFrMXphMFJXTlRBbWNHbzlNa
lUwT1RjeU9UTXcmcz1jb25zdW1lcnNlY3JldCZ4PWNi&oauth_signature_method=PLAINTEXT&oauth_signature=af254aa6c239996a4da73104915e33ca7a92fdd1%26
[responseHeaders] => Array
(
[Date] => Wed, 03 Dec 2008 11:21:28 GMT
[P3P] => policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
[Connection] => close
[Transfer-Encoding] => chunked
[Content-Type] => text/html; charset=utf-8
)

[responseBody] => <html><title>400 Bad Request</title>
<body style='background-color:#edeff2;padding:0;margin:0;font-family:Tahoma;font-size:62.5%;'>
<div style='margin-top:90px;background-color:white;margin:90px 90px;padding:10px 50px;padding-top:15px;;border:1px solid #aaadb0;-moz-border-radius:.3em;'>
<h1 style='border-bottom:1px solid #aaadb0;'>400 Bad Request</h1>
<ul style='font-size:1.5em;'><li>This application cannot make authentication requests on user's behalf.</li></ul>
</div>
</body>
</html><!-- oauth02.member.sk1.yahoo.com uncompressed/chunked Wed Dec 3 03:21:28 PST 2008 -->

)

[Wed Dec 3 03:20:27 2008] [error] ERROR - OAuth call to get request token failed
[Wed Dec 3 03:20:27 2008] [error] ERROR - Failed to create request token

UI => Fatal error: Call to a member function on a non-object in /home/y/share/htdocs/hj/test/yosdk/sample/sampleapp.php on line 26
--Can anybody help to resolve this issue.

0 Replies
  • Thank you for providing the error log information. Can you also provide some feedback on what you're trying to do with the application when this occurs please? That will help us put this into context.

    Thanks,
    Jon
    0

Recent Posts

in Contacts