# Environment Error Message

**URL:** <https://forum.uipath.com/t/environment-error-message/5771405>\
**Category:** Agent Builder\
**Tags:** question, agent-builder\
**Created:** [August 22, 2026, 4:00am UTC](https://forum.uipath.com/t/environment-error-message/5771405 "2026-08-22T04:00:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc0089](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/marc0089/32/562327_2.png) [@marc0089](https://forum.uipath.com/u/marc0089)\
**Post date:** [August 22, 2026, 4:00am UTC](https://forum.uipath.com/t/environment-error-message/5771405/1 "2026-08-22T04:00:47Z")

</div>

Hi all,

I have faced this error when building an agent.

Does anyone have a workaround for this error?

Thank you!

{“Code”:“Robot”,“Title”:“The path ‘/var/app/Executors’ for the selected source could not be resolved.”,“Detail”:“System.InvalidOperationException: The path ‘/var/app/Executors’ for the selected source could not be resolved.\n at NuGet.Protocol.LocalPackageSearchResource.\<\>c\_\_DisplayClass2\_0.b\_\_0()\n at System.Threading.Tasks.Task`1.InnerInvoke()\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n— End of stack trace from previous location —\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)\n— End of stack trace from previous location —\n at NuGet.Protocol.LocalPackageSearchResource.SearchAsync(String searchTerm, SearchFilter filters, Int32 skip, Int32 take, ILogger log, CancellationToken token)\n at NuGet.Protocol.LocalPackageListResource.EnumeratorAsync.MoveNextAsync()\n at UiPath.NuGet.Utils.GetLatestPackageSearchMetadata(String source, Boolean includePrerelease, CancellationToken cancellationToken) in /mnt/_work/1/s/Studio/Common/UiPath.NuGet/Utils.cs:line 104\n at UiPath.NuGet.Utils.GetLatestPackages(String source, Boolean includePrerelease, CancellationToken cancellationToken) in /mnt/_work/1/s/Studio/Common/UiPath.NuGet/Utils.cs:line 95\n at UiPath.Service.Core.PackageService.\<\>c __DisplayClass14_0.\<g__ ResolvePackageAndSources|2\>d.MoveNext() in /mnt/_work/1/s/Studio/Robot/UiPath.Service.Core/Impl/PackageService.cs:line 130\n— End of stack trace from previous location —\n at UiPath.Service.Core.PackageService.InstallProcess(PublishedProcess process, ImpersonableIdentity identity, IRobot robot, Nullable`1 jobId, IEnvironment environment, CancellationToken ct) in /mnt/\_work/1/s/Studio/Robot/UiPath.Service.Core/Impl/PackageService.cs:line 68\n at UiPath.Service.Job.InstallPackage(ImpersonableIdentity identity, CancellationToken ct) in /mnt/\_work/1/s/Studio/Robot/UiPath.Service.Core/Impl/Job.cs:line 238\n at UiPath.Service.Job.PrepareForExecution(ImpersonableIdentity identity, CancellationToken ct) in /mnt/\_work/1/s/Studio/Robot/UiPath.Service.Core/Impl/Job.cs:line 226\n at UiPath.Service.Job.StartAsync(IUserCredential credential, JobStartTelemetry telemetryData) in /mnt/\_work/1/s/Studio/Robot/UiPath.Service.Core/Impl/Job.cs:line 169”,“Category”:null,“Status”:null}

---

<div class="post-metadata">

**Author:** ![MayureshOfficial\_45](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mayureshofficial_45/32/573757_2.png) [@MayureshOfficial\_45](https://forum.uipath.com/u/MayureshOfficial_45)\
**Post date:** [August 22, 2026, 4:13am UTC](https://forum.uipath.com/t/environment-error-message/5771405/2 "2026-08-22T04:13:48Z")

</div>

The error indicates that the Robot is trying to use `/var/app/Executors` as a **local NuGet package source** , but that path cannot be resolved in the execution environment.

I would suggest checking the configured package sources for the environment/Robot and verifying whether `/var/app/Executors` is expected to exist. If it is an obsolete or incorrect local source, remove/disable it and ensure the required packages are available from the correct Orchestrator feed.

If this is a containerized Agent environment, also verify that the `/var/app/Executors` directory is correctly mounted and accessible to the Robot.

---

<div class="post-metadata">

**Author:** ![Jasmin\_Bar](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/jasmin_bar/32/498877_2.png) [@Jasmin\_Bar](https://forum.uipath.com/u/Jasmin_Bar)\
**Post date:** [August 22, 2026, 6:30am UTC](https://forum.uipath.com/t/environment-error-message/5771405/3 "2026-08-22T06:30:03Z")

</div>

Hi @marc0089 ,  
The agent is looking for packages in a folder called **`/var/app/Executors`** , but that folder cannot be found. Update the package feed/source to a valid location and republish the process. Once the package source is corrected, the agent should install the package successfully and run without this error.

Thanks

---

<div class="post-metadata">

**Author:** ![Monali\_Vekariya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/monali_vekariya/32/264397_2.png) [@Monali\_Vekariya](https://forum.uipath.com/u/Monali_Vekariya)\
**Post date:** [August 22, 2026, 8:22am UTC](https://forum.uipath.com/t/environment-error-message/5771405/4 "2026-08-22T08:22:02Z")

</div>

Hi @marc0089

this looks like a NuGet package source issue. The Robot is trying to access **/var/app/Executors** , but the path is not available.

Please check the configured NuGet package sources and remove/correct **/var/app/Executors** if it’s not required. Also make sure the Robot has access to the correct Orchestrator/NuGet feed.

---

<div class="post-metadata">

**Author:** ![shrikrushna.bhoi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shrikrushna.bhoi/32/528317_2.png) [@shrikrushna.bhoi](https://forum.uipath.com/u/shrikrushna.bhoi)\
**Post date:** [August 23, 2026, 5:10pm UTC](https://forum.uipath.com/t/environment-error-message/5771405/5 "2026-08-23T17:10:54Z")

</div>

Hey @marc0089 ,

That error is a NuGet package source issue — the Robot’s trying to pull packages from a local path (`/var/app/Executors`) that isn’t resolving, which suggests you’re on a Linux-based Robot/cloud agent runtime (fits with “building an agent”).

Things to try:

- Check your **package source config** — see if `/var/app/Executors` is listed as a local feed; if so, it might be a leftover/misconfigured path in the container image.
- If it’s a **cloud/serverless agent** , try a fresh republish/redeploy — sometimes clears it up.
- **Clear the NuGet cache** and retrigger the job if you’re on a self-hosted robot.
- If none of that works, this looks like it could be an infra-side bug (the trace points to an internal `PackageService` call) — worth raising with UiPath Support directly with your full stack trace.

Quick question: is this on a **cloud/serverless Robot (Agent Builder)** or a **self-hosted/unattended Robot**? Would help pin down the actual fix.
