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 / Run Script retrying an...
Power Automate
Unanswered

Run Script retrying and error if resubmitted to a Conflict: cant establish connection to excel

(0) ShareShare
ReportReport
Posted on by
Hey,

I m trying to add values to merged excel cells (rows and columns) via an office script:

 
function main(workbook: ExcelScript.Workbook,
section1: string,
section2: string,
section3: string,
section4: string,
row17_1: string,
row17_2: string,
row17_3: string,
row17_4: string) {
 
let sheet = workbook.getWorksheet("SHEETNAME"); // sheet name
 
// Update  4 main merged cells (rows 13-16)
sheet.getRange("B13").setValue(section1);
sheet.getRange("I13").setValue(section2);
sheet.getRange("P13").setValue(section3);
sheet.getRange("W13").setValue(section4);
 
// Update row 17-18 merged cells
sheet.getRange("B17").setValue(row17_1);
sheet.getRange("I17").setValue(row17_2);
sheet.getRange("P17").setValue(row17_3);
sheet.getRange("W17").setValue(row17_4);
}

But when i try and run the script, it just gets stuck on retry(badgateway) and then if i try and resubmit, it goes into Conflict state.

I appreciate any help on this.
Categories:
I have the same question (0)
  • developerAJ Profile Picture
    4,664 on at
    could you explain more you are facing issue when you are running in power automate flow if yes please add screenshots for the same

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard