Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have tried these application for yahoo Login, but it is returning Step by Step Guide to Delicious OAuth API[^] and Implementing Yahoo! Contact Reader Using ASP.NET[^] both these application generating same exception.
Exception: The remote server returned an error: (401) Unauthorized.

Can you help to short out the the reason of generating this exception.

I have tried my code for yahoo login but all code is generating same exception.
What is the reason of this exception and how can I resolve this issue.

I have checked my yahoo apps consumer key and and secret key all are correct but it still returning the same error.

Thanks,
Deepak
Posted
Updated 7-Nov-11 14:57pm
v3

In the article[^] forum someone already asked this question[^] and posted an answer[^] himself.

So did you check the credentials being used?
 
Share this answer
 
Comments
aryan2010 6-Nov-11 8:46am    
I have supplied correct consumer key and secret key of my yahoo application but
still it is generating same exception.

I have downloaded this sample from this link

http://www.codeproject.com/KB/cs/Delicious-OAuth-API.aspx?msg=4070893#xx4070893xx

and i have not changed the anything.

but when i ran this application it is generating same exception
The most obvious reason is: you are not providing valid login information.
Try it manually - cut and paste the exact data from you program - and see if it works at all.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900