I was testing my app today, starting from scratch with getting the initial authorization. However, Yahoo! is returning an HTTP 401 error with received ASCII data = "oauth_problem=signature_invalid".
The name of this error implies that my data content may be OK, but the my signature was not generated correctly. So I tested my request-generation code using the OAuth tester available from
these guys, and it says that my signature is correct. Also, I tried it with an older, release version of my app which of course was tested several months ago and worked. But it does not work any more!
Is everything working OK at Delicious today? (I'm in California).
What are the possible causes of oauth_problem=signature_invalid? According to my notes, the last time I saw this was when I was developing my code, and found that I got this result if the key/value pairs in the request body were not sorted alphabetically by key.
I checked on my YDN account and my app is still there.
I am sending the request to:
https://api.login.yahoo.com/oauth/v2/get_request_token#My request body looks like this:
oauth_callback=bookmacster%3A%2F%2FOAuth&oauth_consumer_key=MYCONSUMERKEY&oauth_nonce=LygXQvPeRCGFHaTRwmoEnw&oauth_signature=q76MsiR7QQujfNCjoO9F4ehwi%2BA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1284147542&oauth_version=1.0
where MYCONSUMERKEY is 100 ASCII characters.
Where should I look? Is there another test server somewhere I should try?
Thanks,
Jerry Krinock