Manually Running schedules generates Errors

Hello all,
we are facing a strange issue.
Running a script with a run as credential, goes smoothly, but running the same script form the schedule tab, using the play button, lead to the following error on the job.
Error executing job: Object reference not set to an instance of an object.

Removing the run as credential on the schedule fixes the issue.
Anyone could drive me in the right direction to resolve this issue?
Thanks, regards

Product: PowerShell Universal
Version: 4.1.0 (also on 4.0.xx)

Seems like a bug a system log would be helpful. It likely will have a stack trace pointing to where this issue is happening.

Maybe this could help:
2023-09-13 22:43:07.741 +02:00 [INF] Error executing job 207: Object reference not set to an instance of an object. at UniversalAutomation.Services.GrpcExecutionService.<>c__DisplayClass11_0.b__1(String role) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Automation\GrpcExecutionService.cs:line 50
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at UniversalAutomation.Services.GrpcExecutionService.ExecuteScript(Job job, ExecutionEnvironment environment, ExecuteScriptRequest request, ExecutionCallback executionCallback) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Automation\GrpcExecutionService.cs:line 50
at UniversalAutomation.ExecutionService.ExecutePowerShell(Script script, IEnumerable`1 parameters, Job job, Schedule schedule, ExecutionCallback callback) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Automation\ExecutionService.cs:line 728
at UniversalAutomation.ExecutionService.TryExecute(Job job, Schedule schedule) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Automation\ExecutionService.cs:line 372
at UniversalAutomation.ExecutionService.Execute(Job job, Schedule schedule) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Automation\ExecutionService.cs:line 215 System.NullReferenceException
2023-09-13 22:43:07.747 +02:00 [DBG] ParentJobId: 0