7 Comments

  1. Ravi Saini

    Hi Able,

    Thanks for wonderful blog. I facing following error when uploading your code to VSTS.

    Unhandled Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthor
    ized).
    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
    at CreateDevOpsDemo.Program.d__18.MoveNext() in C:\Users\abel\Source\MicrosoftStuff\CreateDevOpsDemo\Crea
    teDevOpsDemo\Program.cs:line 399

  2. Priya

    Hi,
    I’m trying to add the workitems to my VSTS account but it shows an error “Unhandled Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).” I’m following your article each and evary step please help me solve the error.

    Thanks,
    Priya.

  3. Jdmveira

    Hi,

    First of all, thanks for this article. I am finding some issues while trying to launch CreateDevOpsDemo program on the Program.cs line 402

    .\CreateDevOpsDemo.bat /collection:https://{my_visualstudio_url}/DefaultCollection /p:MercuryHealth /user:{my_user} /password:{my_password}

    Unhandled Exception: System.ArgumentException: Invalid JSON primitive: .

    Have you published the code for this tool, so I can check what could be happening? Or can you help me with this issue?

    Kind regards.

Leave a Reply

Your email address will not be published. Required fields are marked *