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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Gabriele_hbto
Helper II
Helper II

Calling API with web or Odata and receiving empty results

Hi everyone,

I am trying to retrieve data from this SAP API using the Web Connector:

https://XXXX.sap.XXXX.XXXX:44300/sap/opu/odata/sap/TAB1/TAB1?$select=Product&$format=json

When I make the call with Postman or open the link in a browser, I correctly get the JSON with all the data. However, when I do it from Power BI, I get nothing. I get this string {"d":{"results":[]}} as if there is no data inside, even though there is.
I have also tried using the OData connector, but I only get the column headers with no rows of data.

Could anyone help me with this please?
It's driving me crazy!

thanks guys

2 REPLIES 2
lbendlin
Super User
Super User

Please show how you include the authentication, RelativePath and Query in the Web.Contents call

 

Web.Contents - PowerQuery M | Microsoft Learn

Thanks, it was an authentication issue, I don't know why but PowerBi was making some mess, I resetted all the credentials and it worked, thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.