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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

HTTP request to SharePoint failing sometimes...

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I have a flow that uses Send HTTP request to SharePoint to gather records for an email. I have 41,000 records in a SharePoint list and this is the only way to get the information.

I construct the Uri in my Power App from the users requirements and pass it to the flow, it works perfectly most of the time.

However, for some selections, for example this one...

 

 

_api/web/lists/getbytitle('EFIMasterData')/Items?$select=ID,FileName1,DateFrom,DateTo,Volume&$filter=substringof('1',AreaCode)&$top=100

 

 

it fails. The parts the user selects are the variables inside "substringof" and the limit of records to return. I have intentionally limited the number of records to see if that was an issue, however this flow can return 3000+ records within seconds as long as you are not searching for a "1" in AreaCode.

It also gets stuck on a few other combinations, not just numbers.

It can search AreaCode fine with other numbers.

I have indexed all the columns I am searching in.

The error i get is "The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator."

I would understand if this came up every time, but it seems to appear with only a few selections that don't seem to have anything in common.

Any Ideas?

I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Re: HTTP request to SharePoint failing sometimes...

    Hi!

    Just googled the error message prompted, first result is this one

    https://www.portalfronthosting.com/blog/whats-up-with-sharepoint-list-message-the-attempted-operation-is-prohibited-because-it-exceeds-the-list-view-threshold-enforced-by-the-administrator

     

    Hope it helps

  • Verified answer
    JohnAageAnderse Profile Picture
    1,986 on at
    Re: HTTP request to SharePoint failing sometimes...

    Hello @GregHowardUK 

    As @efialttes  pointed to, you are hitting the limit some times.

    From your description of the issue, then you have done nearly everything you can to remedy this.

    One option I thought of when seeing that the "1" was user provided - have you tried to enforce that a minimum of 2 digits must be provided, thus the limit may not be reached or more seldom.

    Kind regards, John

  • GregHowardUK Profile Picture
    8 on at
    Re: HTTP request to SharePoint failing sometimes...

    Unfortunately due to the data, i cant enforce that without them missing things off a search. It did give me an idea to cleanse the data more and enforce some other rules though, so cheers for the idea!

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard