web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint "Get items"...
Power Automate
Answered

SharePoint "Get items" action returning Bad request - max page count exeeded

(0) ShareShare
ReportReport
Posted on by 13

Hi

I would like to check if there is at least one entry in SharePoint list available that meets the filter condition. Therefore I have a top count of 1.

Caddy_2-1668446849576.png

I set the pagination threashold to 100,000 items (with Power Automate per user plan).

Caddy_1-1668446791212.png

 

The list hast 70000 items and the following error messagt is displayed:

Caddy_0-1668499436775.png

Would be great if anybody could help me avoiding the error message? I have set the threashold to 100000 before without problems. Is the limit of 1000 new?

 

Kind regards

Caddy

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Caddy

    Here is the thing, the Top Count parameter sets the limit number of resulted records. By default, the item limit is 100. If we will work on a large dataset, we need to increase the item limit up to 5000. If we will use the item limit more than 5000 power automate get failed or it will show an error message.

     

    So, to avoid the error message, please remove the input from the Top count and add a condition, write the following expression within the left tab:

    length(body('Get_items')?['value'])

    And assign the number 1 to the right tab of the condition.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard