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 Automate / Sudden 504 using Excel...
Power Automate
Unanswered

Sudden 504 using Excel connector - Data well within range

(0) ShareShare
ReportReport
Posted on by 152

I am confused and hoping for someone to explain. I have been receiving .xlsx files without issue, saving to SP and running an Office Script against. The biggest file is 500K rows, 12 columns. Not even 1.3MB

 

Starting today everything is failing with "BadGateway" and "Request to Graph API has timed out." Any advice is appreciated.

 

Running the script outside of PA with the file yields "Range getCell: The request payload size has exceeded the limit. Please refer to the documentation:"

 

    function main(workbook: ExcelScript.Workbook) {

    const currentSheet = workbook.getActiveWorksheet();
    const usedRange = currentSheet.getUsedRange();

    let values = usedRange.getValues();
    let rowCount = usedRange.getRowCount();

    for (let i = rowCount - 1; i >= 0; i--) {
    if (
    values[i][9] == "Apples" ||
    values[i][9] == "Oranges" ||
    values[i][9] == "Ackee" ||
    values[i][9] == "Strawberry") {
    usedRange.getCell(i, 1).getEntireRow().delete(ExcelScript.DeleteShiftDirection.up)
    }
    }
    }

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard