Error - Cant create unknown type


I am getting below error.

An error appeared while executing Voltas_Service_Ticket_Automation Error message: Cannot create unknown type ‘{}Variable({}GenericValue)’.
plz help me out.

Thanks in Advance

You’re missing some activities.

hi ,

I have developed flow on one machine and migrated package to another machine.And tried to run it using bot.But it gives error as posted.

Copy the packages/activities from your development machine to your testing machine.

I have already done it.And after that trying to run.

C:\Program Files\UiPath\Studio\Packages

Yes.I copied Package from C:\ProgramData\UiPath\Packages and transfered to same path at testing machine.

And did you also copy from C:\Users\AppData\Local\UiPath\Activities?


I have only installed Robot not studio.

Hi @ashwinipundkar

it may help u…

Hi @amaresan,

Thank you for reply.

I have installed only robot.So I dont have Studio , manage packages and all.



Error Message is "

Message: Cannot create unknown type ‘{}GetSecureCredential’.

Exception Type: System.Xaml.XamlObjectWriterException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{}GetSecureCredential’.
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.FuncFactory1.Evaluate() at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings) at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.RunWorkflow() in D:\a\1\s\Robot\UiPath.Executor\RobotRunner.cs:line 301

Help me out.
Thanks in advance


how u publish? in which server… in that server u have to add package.
after that u can invoke different server without uipath studio

Hi @ashwinipundkar,

If you have installed robot in another server, my kind suggestion is to run the package using orchestrator , creating a new robot for the new machine that has the robot being installed, and run the process with the package you created, as a job in that new machine using the robot created.