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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Network error when usi...
Power Apps
Suggested Answer

Network error when using Patch function: The requested operation is invalid.

(0) ShareShare
ReportReport
Posted on by
"Hi,
 
This is not a regular patch function error as this flow was working up until today and it has since ceased to function correctly. No changes have been made to the settings of the flow and when looking at the flow diagram I see this error:
 
 The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold.
clientRequestId: e7479963-89d8-4be1-b478-e6f9bd978d26
serviceRequestId: 44390aa2-0002-0001-b2dd-9fed9e68a3f1
 
This comes under the heading of "Action 'update_id_pending' failed"
 
There is only one input to this flow where it fails and it is looking at a sharepoint site
 
Update - if it helps
 
Will an app show these errors if it is no longer associated with its flow? Does the flow need to be associated with an app to work? - Yes it does and it didn't work
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    1,628 Moderator on at
     
    If a previously working Power Apps Patch or Flow suddenly starts failing with a generic “Network error”, and you haven’t changed any code, the issue is almost certainly a SharePoint lookup column threshold.

    What’s happening
    SharePoint Online has a hard limit of 12 lookup‑type columns per update/query. Lookup‑type columns include:
         Lookup columns
         Person or Group columns
         Managed Metadata
         Calculated columns that reference any of the above
    Even if your app or flow updates only a text field, SharePoint evaluates all lookup‑type columns on the list. If the total exceeds 12, the update fails with:
    The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold.
     
    Why it worked before
    Someone likely added a new Lookup or Person column, or modified a calculated column. No app or flow changes are required for this error to suddenly appear.
    How to fix it
    • Audit the SharePoint list and count lookup‑type columns
    • Reduce the total to 12 or fewer, or
    • Split data into related lists / replace unnecessary lookups with text
    What won’t fix it
    • Rewriting the Patch
    • Reconnecting the Flow
    • Refreshing the data source
    • Adding indexes (indexes only affect the 5,000‑item limit)
     
    Bottom line
    This is a SharePoint schema limitation, not a Power Apps or Flow bug. If a Patch suddenly breaks without code changes, always check the list’s lookup columns first.
     
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
     
  • Ram Prakash Duraisamy Profile Picture
    5,753 Super User 2026 Season 1 on at
     
    Can you please share me your current query ?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard