cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
walkerrowe
New Member

call to API https://api.powerbi.com/v1.0/myorg/datasets returns nothing

Hi,

 

when I call https://api.powerbi.com/v1.0/myorg/datasets or any other API it returns nothing.  No error.  nothing at all.

 

(Please only respond if you understand Rest APIs, curl, and oauth2.  I am not using c#, just Rest.)


curl -X GET -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSU...QRHjkxeL01PTgDKQjxjuLjiXtnZwgmnnCchc3e7-Tr1zkZJOxxkPuo8SG1CN0qBK8obxybqFS3QtH48EeLOBMMJdSVYRQEAV1s_nwyaxzVI-oCkUioJvtmQG7z32BW_A" -H "Content-Type: application/json" https://api.powerbi.com/v1.0/myorg/datasets

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @walkerrowe ,

 

Please refer to this thread:

https://community.powerbi.com/t5/Desktop/Using-a-REST-API-as-a-data-source-POST-Method-Only/td-p/244... 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

You've respond to the wrong question.  I am not trying to call a rest endpoint outside Power BI.  I am trying to call a Power BI endpoint, like list datasets.

 

I am following these instructions.

Hi - Trying the same, did you get to a solution?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.