Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting 404 error for JIRA Cloud Authentication using REST API

QAutomation September 18, 2022

API url - https://<companyName>.atlassian.net/api/v1/authenticate

POST

Header - Content-Type: application/json

Body :

"client_id": "<client_Id>","client_secret""<Client_Secret>" }

 

I have created API Keys - Client ID and Secret

getting below error:

Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Sun, 18 Sep 2022 08:35:48 GMT
< Content-Type: text/html;charset=UTF-8
< Server: globaledge-envoy
< Timing-Allow-Origin: *
< X-Arequestid: 6932ffa2-31a5-400a-8b9a-b4c8a44775e9
< Set-Cookie: atlassian.xsrf.token=10665c89-6c38-4128-a53a-94369205ba57_6f42cec369b79dc0c87de39abd537f813042e9c5_lout; path=/; SameSite=None; Secure
< X-Envoy-Upstream-Service-Time: 225
< Expect-Ct: report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/atlassian-proxy", max-age=86400
< Strict-Transport-Security: max-age=63072000; preload
< X-Content-Type-Options: nosniff
< X-Xss-Protection: 1; mode=block
< Atl-Traceid: 1c762fa90ab9760f
< Report-To: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
< Nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
< Vary: Accept-Encoding
< Transfer-Encoding: chunked

 

 

 

2 answers

0 votes
QAutomation September 18, 2022

It got resolved and I got the token as expected by using below url

https://xray.cloud.getxray.app/api/v1/authenticate instead of  https://<companyName>.atlassian.net/api/v1/authenticat

0 votes
Carlos Garcia Navarro
Community Champion
September 18, 2022

Hello @QAutomation ,

Welcome to the Community! This other post may be helpful, as it may be related: https://community.atlassian.com/t5/Jira-Software-questions/404-Not-found-with-Jira-Cloud-REST-API/qaq-p/1544753

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events