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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Looping data pull due to API limitation

Hi guys.

 

I am facing a problem with CISCO AMP API. I need to pull data but I am limited to 500 rows and any number greater than 500 gives error:
   DataSource.Error: Web.Contents failed to get contents from 'https://api.eu.amp.cisco.com/v1/computers?limit=501' (400): Bad Request
   Details:
   DataSourceKind=Web
   DataSourcePath=https://api.eu.amp.cisco.com/v1/computers
   Url=https://api.eu.amp.cisco.com/v1/computers?limit=501

I want to try to loop that data pull to give me next 500 rows multiple times to have all of 16k rows.

Can anyone help me with that? This is overwhelming me.

 

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

Please have a look at below posts to check if they could help.

https://community.powerbi.com/t5/Desktop/how-to-create-a-query-that-paginates/td-p/20047/page/7

Loop through Multiple Web Pages using Power Query

Iterating over multiple pages of web data using Power Query

For 3rd party Links:

Please understand that this link is provided “AS IS” with no warranties or guarantees of content changes, and confers no rights.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank  you for your response but the thing is all records are within one sheet, on one page so the pagination solve different issue from what I see.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors