We are trying to get some data from this API endpoint
https://jira.cs-app-test-12.cs-aws.cucumber.io/rest/agile/1.0/board?projectKeyOrId=AANES
while calling this API endpoint form backed we are facing some issues [refer to the attachment ]
This is our JIRA DATA CENTER APP [still in the testing phase].
Can you please help me to understand this issue and fix it?
If you need any further details please let us know.
FYI: We already have one app hosted in the marketplace.
"https://kumarkanad642.atlassian.net/jira/marketplace/discover/app/hiptest.jira-plugin"
Hi @kanad_kumar, welcome to the Atlassian Community
From the error I deduce you're not authenticated when firing the request. The API only gives answers to legitimate calls. The authenticated user permissions also apply to the results you're seeing (you only see tickets that the account you're using may see from within Jira).
Hope you'll get your second app working soon
Dick
By voting for helpful posts and marking answers to your question, you're helping people with similar questions find a solution more quickly. Sharing is caring applies to knowledge as well :)
And you didn't bother asking google first for "401 response code"?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
The HTTP 401 Unauthorized
client error response status code indicates that a request was not successful because it lacks valid authentication credentials for the requested resource.
I think it stands to reason that everybody would ask the same question - where are the credentials?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are able to fix that by passing a barrier token in the request header.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.