Forums

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

Cannot find User Data with API

Simon König
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2024

Hi,

I am currently writing a python script to run for our Jira using API V2.

But for every https request in this manner: "<myhost>/rest/api/2/users" I get a 404 Error.
I also tried "<myhost>/rest/api/2/user ", which works, but wont let me get all userdata since it takes additional arguments as query.
- I want to get all user-data in jira API V2 and it won't let me
- I use python response
- I have successfully created Issues, got metadata and used jql search with my Header and Auth setup on this host

1 answer

0 votes
Simon König
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2024

Edit:

Using the header with "accept": "application/json" I get the errorMessag:

{"message":"null for uri: <MyHost>/rest/api/2/users/search","status-code":404}

Using my header I used in my other GET requests:{"Content-Type": "application/json"} I get:

</status-code><message>null for uri: <MyHost>/rest/api/2/users/search</message></status>

Suggest an answer

Log in or Sign up to answer