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?
Solved! Go to Solution.
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
Hi!
Just googled the error message prompted, first result is this one
Hope it helps
Proud to be a Flownaut!
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
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!
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
90 | |
50 | |
36 | |
30 | |
27 |
User | Count |
---|---|
75 | |
60 | |
50 | |
43 | |
38 |