Hi all,
I recently changed a script in a working flow and now the run fails every time at the changed flow. The only error that is displayed is: Encountered internal server error. The tracking Id is '8686811b-42e5-4a79-bdeb-c12666ba3a7e'.
The code I try to run is basically an export of a big array, which then is imported into another sheet later on in the flow.
for (var i = 1; i < (mondaysInLast().length + 1); i++) {
console.log(i);
let range = Workbook.getWorksheet("KW_" + (wn - i)).getRange("A6:AZ96");
let value = range.getValues();
values.push(value);
}
return values;
The code is basically looking for the right sheets, then copies the range given and saves them into the array values. This happens multiple times so that the output is an array containing multiple arrays. If I try to run the script in Excel, it is working properly and a proper result is given:
(5) [4, Array(91), Array(91), Array(91), Array(91)]
Why does the flow have a problem with my script?
Hello @niki_7 ,
Can you tell which specific action in your flow displayed this error "Encountered internal server error. The tracking Id is '8686811b-42e5-4a79-bdeb-c12666ba3a7e'".?
I took a look at the logs on our side for the "Run script" action with this tracking ID, but I didn't see any obvious issues.
Maybe it would also help to describe a bit about your flow?
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional