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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Hocine
Frequent Visitor

Get Data using API

Hello, 

could anyone tell me, if I can use an API that my manager generate it through his own account to get external data (ODATA Feed).

 

1 ACCEPTED SOLUTION

Yes. Try connecting with postman, restman or any other tool to check if the url and connections from that PC are correct before trying on power bi. Be sure that you request is correct and returning something first.

 

It's tricky to get the api works.

Regards,

 


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

Happy to help!

LaDataWeb Blog

View solution in original post

7 REPLIES 7
ibarrau
Super User
Super User

Hi. Yes you can. If you are calling a GET from an API you can use de Web connector. If you have OData you can use OData connector.

 

Regards,

 


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

Happy to help!

LaDataWeb Blog

Hi, thanks for the reply. I'm using ODATA feed as shown on the pics bellow, but I get an error

1.PNG2.PNG

 

Please check your URL because it is throwing an internal server error 500. It's like there is an error on the sever side or the URL is wrong.

 


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

Happy to help!

LaDataWeb Blog

It is a local server. should anything be different?

 

It shouldn't. Can you connect with your computer with another tool? Does that computer has the permission to do it?

 


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

Happy to help!

LaDataWeb Blog

Do you mean permession to connect through API?

 

Yes. Try connecting with postman, restman or any other tool to check if the url and connections from that PC are correct before trying on power bi. Be sure that you request is correct and returning something first.

 

It's tricky to get the api works.

Regards,

 


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.