401 Authentication error for JIRA REST API with Basic Auth + Personal Access Token

123 Views Asked by At

Hello I am trying to connect to the JIRA Rest API to obtain the JSON Data for further parsing. I am using BASIC Auth + Personal Access Token Token (PAT) generated with my company login

I get an error 401 : Unauthorized. What I am doing wrong. I am new to .NET and would really help if experts in our community help fix the code or let me know what I am doing wrong. I am expecting JSON Data from the URL for a given component under a project. I am admin on that project and can see the JSON data when opening the URL directly in a browser.

With the WSSO redirection it gives the error NO redirection URL found. Expecting to get back Json data but getting Authentication denied (401) Unauthorized error

JIRA Code

0

There are 0 best solutions below