Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.