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 on Scree...
Power Apps
Unanswered

Network error on Screen form Lookup

(0) ShareShare
ReportReport
Posted on by 86
I have a screen form that has been working for months.  All of a sudden last Thursday, it stopped.  I'm getting the dreaded Network Error that tells you absolutely nothing
 
 
This form is doing a lookup on a table with about 370 columns.  It is a On Prem/SqlServer table.  I decided to drill down to see what is happening so I created a new Screen/Form with the same table and lookup.  It works fine until I get to 326 columns selected.  325 works, but 326 I get this error.
 
I have 2 questions.  First, why did this all of a sudden stop working?  Second, why is there a limit on the number of columns (or data) selected?  I MUST get this working.
 
I understand this is alot of columns to select but there is a reason for it, and until Thursday had no issues.  
Categories:
I have the same question (0)
  • Suggested answer
    RaghavMishra Profile Picture
    68 on at

    Hi,

    The "Network Error" with no detail when you cross 326 selected columns on a wide SQL Server table is a known limit of the SQL Server connector, not a Power Apps Form bug — and the reason it changed last Thursday is almost certainly an on-premises data gateway update tightening enforcement. Here's what Microsoft documents and what to do.

    Why there is a "column limit" at all

    It isn't a column count limit per se — it's a serialized row payload size limit on the SQL Server connector. Every row returned by the connector is serialized to JSON and sent through the gateway, and the connector enforces a request/response size cap per call. With ~370 columns the row easily crosses that cap, and the connector returns a generic network error because the serializer aborts before a real SQL error is generated. The "326 works / 326+1 fails" boundary is whichever column types you add first happen to push the JSON over the cap.

    Why it suddenly stopped last Thursday

    The on-premises data gateway service ships monthly updates and clients in the supported window are auto-rolled forward. Updates frequently tighten payload, timeout, and serialization enforcement — apps that were squeaking under the previous threshold start failing after the rollup. There's nothing wrong with your app design; the runtime got stricter.

    What to do — in order of effort

    1. Stop pulling every column into the Form. A Form control returns whatever DataSource returns; if you can't change the column list there, replace the Form's DataSource with a projection. Two supported ways:
      • Create a SQL view on the table that selects only the columns the Form actually displays/edits, and bind the Form to that view instead of the base table. Views appear as data sources in Power Apps. Reference: Use SQL views with Power Apps.
      • Use ShowColumns() on the Form's DataSource expression to project down: Form1.DataSource = ShowColumns(MyTable, "Id", "ColA", "ColB", …). Reference: ShowColumns, DropColumns, AddColumns, RenameColumns.
    2. If you genuinely need all 370 columns in one screen, split the data across multiple Forms (each bound to a narrower view) on tabs or sections, and write back through stored procedures rather than a single Form.SubmitForm() round-trip. The SQL connector's Execute stored procedure action avoids the wide-row serialization on submit. Reference: Execute SQL stored procedure.
    3. Confirm the gateway version on the host machine. If it's the latest and rolling back isn't an option (Microsoft supports only the current and previous releases), the projection in step 1 is the durable fix — the cap won't move back.
    4. Long-term: tables with hundreds of columns are usually a sign the row should be normalized or moved into Dataverse, which Power Apps treats as a first-class store without the connector serialization cap. Reference: What is Microsoft Dataverse?.

    Quick diagnostic

    If you want to confirm it's payload size rather than something else, open App checker → Monitor in Power Apps Studio while the Form is loaded, trigger the lookup, and look at the SQL request's response size and status. A connector-level abort shows as a 4xx/5xx with no SQL exception body — that's the serialization cap signature. Monitor docs: Monitor your apps in Power Apps.

    Net: the "Network Error" is the SQL connector aborting an oversized serialized row; the timing matches a gateway monthly update tightening enforcement; the supported fix is to project to only the columns the Form needs (view or ShowColumns). The 326-column boundary is a payload-size artifact, not an intentional product limit.

    Found this helpful? Please mark ✅ "Does this answer your question?" so others searching for the same issue can find it quickly. A 👍 on "Was this reply helpful?" or a ♥ Like is also much appreciated!

    Raghav Mishra — LinkedIn | PowerAI Labs

  • Suggested answer
    11manish Profile Picture
    2,430 on at
    Start by identifying the exact column that causes the failure when moving from 325 to 326 columns.
     
    Also review recent SQL changes and check the on-premises gateway logs.
     
    In most cases, the root cause turns out to be a specific column, a payload size issue, or a gateway-related problem rather than a fixed Power Apps column limit.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard