Im getting this error when trying to invoke Python Method.
Here are details:
Python activities = version 1.9.0
Python = Python 3.12.10
.NET = 8.0.414
This is full error in Locals:
RemoteException wrapping System.AggregateException: One or more errors occurred. (Invalid method name) —> RemoteException wrapping System.InvalidOperationException: Invalid method name
at UiPath.Python.Activities.InvokeMethod.ExecuteAsync(AsyncCodeActivityContext context,
CancellationToken cancellationToken)
— End of inner exception stack trace —
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
Here is my Python Code:
def say_hello():
return f"Hello! Python is working in UiPath."