404 and null for uri..

Maximilian Skowron February 20, 2020

We use a cloud Jira solution and want to get some information via the REST-API. 

Our used account is an administrator account and we created an API-Token for the login password.

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<status>    
<status-code>404</status-code>
<message>null for uri: https://mskowron.atlassian.net/rest/api/2/projects</message>
</status>

 

The request URL:

https://mskowron.atlassian.net/rest/api/3/projects

 API version two doesn't work either.

2 answers

1 accepted

1 vote
Answer accepted
Maximilian Skowron February 20, 2020

The problem was the wrong URI pattern used.

It worked for:

https://mskowron.atlassian.net/rest/api/3/project
David Seeber October 9, 2023

Thanks for this. Same problem in my case, I was missing a "?" in my URL.

0 votes
Hoang van Canh January 9, 2021

NUll 

Suggest an answer

Log in or Sign up to answer