cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

HTTP request to SharePoint failing sometimes...

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

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

View solution in original post

3 REPLIES 3
Dual Super User III
Dual Super User III

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-operatio...

 

Hope it helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Super User II
Super User II

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

View solution in original post

Highlighted

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!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,810)