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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

Updating data using an API

Hello

I managed to connect to an API using the "Blank Query" connection method, I entered a script in M language and I managed to extract records and load them into my model. When I publish it to Power Bi Services and configure its periodic update I come across this message.

MarioYepes_0-1718202403957.png

Is there a solution? Is there any other method that allows data refresh via an API?

Thank you

Mario

3 REPLIES 3
MarioYepes
Frequent Visitor

Hello

This is my M script and it's the way I extract the data, the API handles pagination so I have to read all its pages and bring up to a maximum of 100 records per page.

MarioYepes_0-1718263319772.png

Please follow the documentation.  Use RelativePath and Query parameters.

 

Web.Contents - PowerQuery M | Microsoft Learn

lbendlin
Super User
Super User

needs more details. Please show a sanitized version of your Power Query code.

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.