Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,742
Community Members
 
Community Events
168
Community Groups

Rest APIs are returning blank results

Hi,

We are trying to consume Rest APIs for our analytical needs. When I try the API call from the browser where I am already signed in, it returns the results as expected. But If I call the API from Curl or Power BI or C# script it sends blank list, though status code is 200 (OK). Seems authentication is not working properly. 

I am using Basic authentication with User name and Token.

Any help on this would be appreciated. Thank you. 

API call : https://organizationname.atlassian.net/rest/api/3/project

 

1 answer

0 votes

You should use email address + token combination and not user name.

Suggest an answer

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

Atlassian Community Events