locked
Unauthorized 401 error while authenticating REST API. RRS feed

  • Question

  • Hi All,

    I have used the following code to authenticate in a console application

    ---https://www.visualstudio.com/en-us/integrate/get-started/auth/overview----

    I am getting the token from the server but I am not able to retrieve data because it shows Unauthorized Access 401--

    "Response status code does not indicate success:401 (Unauthorized)."

    as exception message. We have used proper credentials and have all the required access levels.  Need Help to fix this. I have attached the screenshots for error message and console error.

    Thanks in advance.

    • Moved by Caillen Monday, March 23, 2015 3:07 AM
    Friday, March 20, 2015 11:53 AM

All replies

  • Hi Sandeep,

    It's better to post Visual Studio Online REST API questions in Visual Studio Online forum where more experienced developers may give you help.

    Thanks for your understanding.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, March 23, 2015 3:11 AM