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

Community site session details

Session Id :
Power Automate - Using Flows
Suggested answer

Gateway Timeout Due to 'Too Many' Rows in Excel

(0) ShareShare
ReportReport
Posted on by 2
I've created a flow that adds a row to a table in Excel when a Microsoft Form is submitted. I've got it working quite well, until I changed the destination sheet to a copy of our live Excel sheet that operates as a database (gross, I know). There are 387 rows in the live sheet and when I try to add a new one via the flow, it times out.

I have tested this by creating a copy of the table in a new sheet, erasing all the rows (but changing nothing else; all the calculations are kept), and then running the script, pointing at the new sheet. The data is added without any issues, but when I point it back at the 'live' table, it fails, so I know it's got something to do with the number of rows in the table.

There are quite a few calculations in the sheet, some fairly complex, but I've also tried turning calculations off and it still didn't work. The calculations are why I can't use Sharepoint Lists.

I keep seeing references to 'pagination' when I tried looking it up, but I can't find that setting in Power Automate. It's usually in reference to importing loads of rows, so I don't know if it even applies here.
If anyone knows how to fix this issue, I would be extremely grateful! Thank you!
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    2,625 Moderator on at
    Gateway Timeout Due to 'Too Many' Rows in Excel
     
    In this case you should avoid the built in action for adding a row to an Excel table and instead use the Graph API request via the HTTP action
     
    Pagination isn't a feature of adding rows, it's for getting rows from a table.
  • ACHighlands Profile Picture
    2 on at
    Gateway Timeout Due to 'Too Many' Rows in Excel
    Hi @Tomac,
     
    Thanks for the reply! This solution looks like it is for adding multiple rows all in one go, whereas I need it to add one row at a time, as the form will be filled out by different people at different times. 
     
    Is there no way to get around whatever row max is causing it to fail? I would have to do a lot more experimentation to find out what the max is, but it seems ill-designed if Excel has such a low saturation-point when it comes to having rows added by power automate.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 721 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 545 Moderator

#3
chiaraalina Profile Picture

chiaraalina 321

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow