CurrencyIndexSchedulerManager.Run

// Job ID: #1809524
using LegalOne.Lib.Schedulers.CurrencyIndex;

var currencyIndexSchedulerManager = Activate<CurrencyIndexSchedulerManager>();
currencyIndexSchedulerManager.Run();
CurrentCulture
"pt-BR"
CurrentUICulture
"pt-BR"
RecurringJobId
"CurrencyIndexSchedulerManager"
Time
1765184400

State

08/12/2025 09:00:01 (+820ms) Failed

An exception occurred during performance of the job.

System.AggregateException

One or more errors occurred.

System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at LegalOne.Lib.BusinessLogic.Contexts.Integrations.ThirdParty.Bacen.BacenCurrencyIndexService.<GetDailyCurrencyIndex>d__5.MoveNext() in C:\azagent\A1\_work\1\s\LegalOne\LegalOne.Lib\BusinessLogic\Contexts\Integrations\ThirdParty\Bacen\BacenCurrencyIndexService.cs:line 50
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at LegalOne.Lib.Schedulers.CurrencyIndex.CurrencyIndexUpdateService.<Run>d__3.MoveNext() in C:\azagent\A1\_work\1\s\LegalOne\LegalOne.Lib\Schedulers\CurrencyIndex\CurrencyIndexUpdateService.cs:line 37
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at LegalOne.Lib.Schedulers.CurrencyIndex.CurrencyIndexSchedulerManager.Run() in C:\azagent\A1\_work\1\s\LegalOne\LegalOne.Lib\Schedulers\CurrencyIndex\CurrencyIndexSchedulerManager.cs:line 29
---> (Inner Exception #0) System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at LegalOne.Lib.BusinessLogic.Contexts.Integrations.ThirdParty.Bacen.BacenCurrencyIndexService.<GetDailyCurrencyIndex>d__5.MoveNext() in C:\azagent\A1\_work\1\s\LegalOne\LegalOne.Lib\BusinessLogic\Contexts\Integrations\ThirdParty\Bacen\BacenCurrencyIndexService.cs:line 50
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+60ms Processing

Server:
wo0sdwk00006f:14160
Worker:
0ec0bf7d

+6ms Enqueued

Triggered by recurring job scheduler

08/12/2025 09:00:00 Created