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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.