Job Stopped with an unexpected exit code_1

Hello Team,
I am getting below error while debugging in UiPath. continusally getting this error. using 2025.10.3.LTS UiPath version.

Thanks
Hushen Shaikh

@hussain_shaikh

That error code, 0xC00000FD, often points to a stack overflow issue in UiPath, which can happen if a workflow has too much recursion or too many variables. The recommended first step is usually to try restarting Studio, like the second error message says. If that doesn’t work, you might need to take a closer look at the workflow itself.

Restart studio first then check your workflow for any loop While or For Each running without a proper exit condition.

also try clearing the .local folder and reinstalling dependencies Manage Packages -repair If it still fails run Studio as Admin and update to the latest patch

Hello @hussain_shaikh,

Can you please remove all unrelated dependencies, variables, and also remove the cache and republish. This may resolve the issue.

Thanks,
Karthik

Dim app As Microsoft.Office.Interop.Excel.Application

Try
app = CType(System.Runtime.InteropServices.Marshal.GetActiveObject(“Excel.Application”), Microsoft.Office.Interop.Excel.Application)

If app.Workbooks.Count = 0 Then
    Throw New Exception("No Excel files are currently open.")
End If

Dim doc As Microsoft.Office.Interop.Excel.Workbook
doc = app.ActiveWorkbook

doc.Save()

System.Runtime.InteropServices.Marshal.ReleaseComObject(doc)
System.Runtime.InteropServices.Marshal.ReleaseComObject(app)

Catch ex As Exception
Throw New Exception("Error while saving Excel: " & ex.Message)
End Try