Organization Id Required

An organization unit is required for this action.

System.Exception: An organization unit is required for this action. —> UiPath.Shared.Testing.Orchestrator.RestHttpRequestException: {“message”:“An organization unit is required for this action.”,“errorCode”:1101,“traceId”:“00-f6eae6ca5ddf12a6ed7b5a1d29821384-7cbd101badef3e1c-00”} at UiPath.Shared.Testing.Orchestrator.Extensions.HttpResponseExtensions.EnsureSuccessStatusCodeAsync(HttpResponseMessage response)
at UiPath.Shared.Testing.Orchestrator.Rest.HttpClientRestApi.MakeRequestAsync(String resource, HttpMethod method, Func2 onError, HttpContent data, CancellationToken cancellationToken)
— End of inner exception stack trace —
at UiPath.Shared.Testing.Orchestrator.Rest.HttpClientRestApi.MakeRequestAsync(String resource, HttpMethod method, Func2 onError, HttpContent data, CancellationToken cancellationToken)
at UiPath.Shared.Testing.Orchestrator.Rest.HttpClientRestApi.PostFileAsync(String resource, HttpContent data, Func2 onError, CancellationToken cancellationToken)
at UiPath.Testing.Activities.OrchestratorService.RequestWithRetry[T,Q](Func2 request, T input, Func2 retryCondition, Func1 retryInput)
at UiPath.Testing.Activities.OrchestratorService.PostAssertionToOrchestrator(Assertion assertion, String screenshotFile)
at UiPath.Testing.Activities.Services.AssertionService.Assert(Func1 assertionFunc, AssertionInfo assertionData, IScreenCapture screenCapture)
at UiPath.Testing.Activities.AssertionActivity.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

when i am running the testcase in the orchestrator after running succesfully in the verify expression activity i am getting the above error

@Suganesh_Bhoir1

Upgrade UiPath.System.Activity package to the latest version available. Also refer this Knowledgebase

1 Like