Rest APIs are returning blank results

Manglani, Mittal September 9, 2022

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
Prince Nyeche
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.
September 12, 2022

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
AUG Leaders

Atlassian Community Events