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

Notifications

Announcements

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:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard