Form is Showing internal error

After creating form suddenly it started showing internal error while running. Please suggest any solution regarding this Asap.

Exact error - An internal error occurred while preparing forms execution data

Thanks in advance

@Bots_Aj

Please run in debug mode and open locals panel and check what the internal error exception is…we can proceed accordingly

cheers

Yes we tried in debug mode, but as the code gets compile it throws the above error.

Following is the detailed log error report hope this might help, also tried removing all the duplicate variables but still the error is same -

Error: UiPath.Studio.Contracts.RecoverableException: An internal error occured when preparing forms execution data.
β€”> UiPath.Studio.Contracts.RecoverableException: Forms execution data could not be generated because of duplicate ids. Please check the details for the list of files.
at UiPath.Studio.Forms.Shared.Services.FormsRuntimeInfoGeneratorService.Generate(IFormsRepository repositoryService, String targetDir)
β€” End of inner exception stack trace β€”
at UiPath.Studio.Forms.Shared.Services.FormsRuntimeInfoGeneratorService.Generate(IFormsRepository repositoryService, String targetDir)
at UiPath.Studio.Forms.Services.ProjectFormsRuntimeInfoGeneratorService.Generate()
at UiPath.Studio.Plugin.Workflow.Execution.Services.ExecutionStartConfigurator.ConfigureAsync(Boolean firstExecutionInBatch, Boolean lastExecutionInBatch, IEnumerable1 batchedDocuments, String entryWorkflow) at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecution(ExecutionConfig config) at UiPath.Studio.Shell.Execution.Services.ExecutionManagerBaseService.TryStartExecution(ExecutionConfig executionConfig, Boolean validate) at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.<>c__DisplayClass27_0.<<ProcessExecutionCommand>g__StartExecutionAsync|1>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.ProcessExecutionCommand(ExecutionCommand command, Object item, ExecutionParameters executionParameters) at UiPath.Studio.Shell.Execution.ViewModels.DebugViewModel.ExecuteDebugAsync(IPersistableItem item, ExecutionParameters executionParameters) at UiPath.Studio.Shell.ViewModels.DebugTabViewModel.ExecuteDebugFile() at UiPath.Studio.Contracts.IAsyncCommandExtensions.ExecuteAsync(IAsyncCommand1 command)
at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088

@Bots_Aj

As per error looks like there is same id used in different forms or two forms are present in same project with same names

can you please confirm

also to check can you create a dummy form in a new project and check if the issue persists

cheers

1 Like

Thankyou for replying @Anil_G ,

Yeah actually i have used same form in different workflows and invoked them into single process.

if this is the error, then is there any other way to use one single form or create its dummy to use this in multiple invoke workflows.

@Bots_Aj

There would be a form ID or form name field which you can give different in each flow

cheers

its still showing the same error.