Complete Task: This action is no longer assigned to you Error code: 2402

Hi,

I want to set an assigned Action Task to complete using UiPath.Persistence.Activities.Tasks.CompleteTask. I just input Task Id & Task Action in the activity. However below error occurred:

RemoteException wrapping UiPath.Orchestrator.Service.OrchestratorException: This action is no longer assigned to you Error code: 2402
at UiPath.Shared.Extension.TaskExtensions.ThrowIfNeeded(Task task,
Boolean suppressThrowException)
at UiPath.Persistence.Activities.BaseOrchestratorClientAsyncActivity.ThrowIfNeeded(IAsyncResult result,
Boolean suppressThrowException)
at UiPath.Persistence.Activities.BaseOrchestratorClientAsyncActivity.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

Regards,
Azeem

Hi @azeem_rosli

Can you check out this thread

Regards
Gokul

Thanks but I’m using Cloud Orchestrator.

Regards,
Azeem