Hi, I am having trouble with an unstable Power Automate flow because, 20% of the time, Power Automate cannot run an office script in the flow successfully. Even though the Power Automate data output to the Excel online workbook has not changed between runs. When I run the script in Excel, it runs successfully 100% of the time without waiting to see if it runs.
When the run fails in Power Automate, I always get this error message: "We were unable to run the script. Please try again.
Office JS error: Line 214: {"message":"The argument is invalid or missing or has an incorrect format.","code":"InvalidArgument","type":"Worksheet","method":"getRange","line":248}"
clientRequestId: 59aeac90-65a9-4836-a979-8e243cd478e4
I have been unable to solve this. Does anyone have an answer or a clue for me?