An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.

System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.

System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
   at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken)
   at CooperDesp.RN.API.Bancoob.ConveniosRestClient.<GetTokenBearer>d__21.MoveNext()
--- 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 CooperDesp.RN.API.Bancoob.ConveniosRestClient.<GetHttpClient>d__23.MoveNext()
--- 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 CooperDesp.RN.API.Bancoob.ConveniosRestClient.<ConsultarCodigoBarras>d__25.MoveNext()
--- 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 CooperDesp.RN.API.Bancoob.ConveniosRestClient.<PagarCodigoBarras>d__29.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at CooperDesp.RN.Convenios.EfetuaPagamentoBancoob(DateTime dataAutenticacao, Int64 movimentosConvenioId, String& motivo, BancoobLogAPI bancoobLogAPI)
   at CooperDesp.RN.Convenios.<>c__DisplayClass238_0.<TransacaoBancoobAsync>b__0()
---> (Inner Exception #0) System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
   at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken)
   at CooperDesp.RN.API.Bancoob.ConveniosRestClient.<GetTokenBearer>d__21.MoveNext()
--- 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 CooperDesp.RN.API.Bancoob.ConveniosRestClient.<GetHttpClient>d__23.MoveNext()
--- 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 CooperDesp.RN.API.Bancoob.ConveniosRestClient.<ConsultarCodigoBarras>d__25.MoveNext()
--- 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 CooperDesp.RN.API.Bancoob.ConveniosRestClient.<PagarCodigoBarras>d__29.MoveNext()<---

		

Logged on quinta-feira, 15 de maio de 2025 at 12:16:41

See also:

Server Variables

NameValue
_Complemento153238502 | 15/05/2025 12:16:41 | 84660000001109900820899927023849195398437999 |
_InnerExceptionAn invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
_LinhaVAZIO
_MétodoConvenios.TransacaoBancoobAsync
_Parametros Recebidoscontexto nulo
_StackTrace at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at CooperDesp.RN.Convenios.EfetuaPagamentoBancoob(DateTime dataAutenticacao, Int64 movimentosConvenioId, String& motivo, BancoobLogAPI bancoobLogAPI) at CooperDesp.RN.Convenios.<>c__DisplayClass238_0.<TransacaoBancoobAsync>b__0()
_Versãocontexto nulo