JobIntegracaoLean.SincronizarCotacoesOpme

// Id: #9318123
using Inpart.Integracao.GerenciadorJobs.Services;

var jobIntegracaoLean = Activate<JobIntegracaoLean>();
await jobIntegracaoLean.SincronizarCotacoesOpme();

Parameters

CurrentCulture
""
RecurringJobId
"lean-sincronizacao-cotacoes-opme"
Time
1786460769

State

08/11/2026 15:06:21 (+11.530s) Failed

An exception occurred during performance of the job.

Inpart.Integracao.Lean.Exceptions.LeanAutenticacaoException (95a585ba1b87.staging:1)

Autenticação Lean rejeitada (HTTP 401).

Inpart.Integracao.Lean.Exceptions.LeanAutenticacaoException: Autenticação Lean rejeitada (HTTP 401).
   at Inpart.Integracao.Lean.Client.LeanAuthClient.AutenticarAsync(CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Client.LeanAuthClient.GetAccessTokenAsync(Boolean forcarRenovacao, CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Client.LeanCotacaoOpmeClient.EnviarAsync(Func`1 requestFactory, Boolean renovarToken, CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Client.LeanCotacaoOpmeClient.EnviarComReautenticacaoAsync(Func`1 requestFactory, CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Client.LeanCotacaoOpmeClient.ConsultarCotacoesOpmeAsync(Int32 pageIndex, Nullable`1 pageSize, String situacao, Nullable`1 identificadorCotacao, String numeroGuiaOperadora, Nullable`1 dataHoraInicial, Nullable`1 dataHoraFinal, CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Services.IntegracaoLeanService.SincronizarCotacoesOpmeAsync(Func`4 processarCotacaoAsync, CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter`1.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30ms Processing

Server:
95a585ba1b87.staging:1
Worker:
8549f1d1

+7ms Enqueued

Triggered by recurring job scheduler

Queue:
lean-jobs

08/11/2026 15:06:09 Created