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?