Forums

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

Jira APIs inconsistent responses with different invocation types

mansoor.halari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2024

According to JIRA document, a curl request to JIRA API returns 200.Screenshot from 2024-07-23 16-02-30.png

The issue arises in using the same API with React 18 and Python.
I get inconsistent returns 400 - Bad request or unauthenticated without any indicators.

Screenshot from 2024-07-23 16-04-26.png

With Python, once add request params (such as request_params = {“maxResults”: 1000} ), it gives 400 - Bad.

Screenshot from 2024-07-23 16-05-37.png

I have tried various libraries in Python such as HTTPX and aiohttp, but none of these worked.

Also, to point out that I have not faced any issue while working with Confluence APIs. The above issue is with Jira APIs.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events