Hello,
In order to accomplish a couple of things I cannot do directly in Power Automate, I started executing regular expressions using the "Run Excel Script" activity. It had been working fine, but on Monday it started to fail. This execution of the Excel script is inside of an "Apply to each" activity.
What I've done so far to try to fix it:
1. Removed default concurrency to the trigger, so I make sure this process is not executing multiple times in parallel.
2. Removed default concurrency of the "Apply to each" activity, to make sure the process is not trying to execute the script multiple times at the same time.
3. On the Run Excel Script, I've played with the Retry Policy, with no luck.
The issue persists.
The weirdest thing is that this issue might or might not happen on the same execution and within the apply to each.
The Error:

In the apply to each activity:
Execution number 5 failed, number 6 succeeded and number 8 failed again.. and so on.
Failed:

Succeeded:

Failed:

This is the configuration of the RunScriptPageNumber:

Hope anyone here can help!
UPDATE: Now that I am editing the flow, the issue started appearing on the top like this:

It seems like the file was not available or I didn't have permissions on the file.
The excel file is saved and closed, no one else is using it.