I am getting authorization error even when i tried accessing with correct id password (with Base64 encoded Userid:Password)
error msg :
GET : InboundJaxrsResponse{ClientResponse{method=GET, uri=https://atradius-naa.atlassian.net/rest/api/2/project/TA, status=401, reason=Unauthorized}}java.lang.Exception: Unable to connect to JIRA
Any possible reason for this?
Hi @Rajeev Kumar ,
Basic and Cookie authentication methods have been deprecated as announced long time ago. For details please see:
In order to authenticate your REST API calls towards Jira Cloud you should use the combination email-address:API Token instead.
You can find the instructions on how to create an API Token in below page:
Let me know if this helps.
Cheers,Dario
do we have to encode with base64 (emailaddress:token)
it worked after encoding, thanks!!!!
You are very welcome @Rajeev Kumar
I am happy this helped
It looks like you're new here. Sign in or register to get started.