Comunidade
Erro na resposta de Cotação
Estou a alguns dias recebendo retorno de erro na cotação de Fretes:
{
"ErrorMessage": "Object reference not set to an instance of an object.",
"StackTrace": " at Rodonaves.Quotation.Bll.Customer.SetReceiverCustomerAsync(QuotationInfo info, Boolean isSimulation) in /home/jenkins/workspace/rodonaves.quotation_release_sp17/Rodonaves.Quotation.Bll/Customer.cs:line 286\n at Rodonaves.Quotation.Bll.Quotation.SetCustomers(QuotationInfo info, Boolean isSimulation) in /home/jenkins/workspace/rodonaves.quotation_release_sp17/Rodonaves.Quotation.Bll/Quotation.cs:line 472\n at Rodonaves.Quotation.Bll.Quotation.DoQuotationAsync(QuotationInfo info, Boolean isSimulation) in /home/jenkins/workspace/rodonaves.quotation_release_sp17/Rodonaves.Quotation.Bll/Quotation.cs:line 154\n at Rodonaves.Quotation.Bll.Quotation.CreateQuotationAsync(QuotationInfo info) in /home/jenkins/workspace/rodonaves.quotation_release_sp17/Rodonaves.Quotation.Bll/Quotation.cs:line 219\n at Rodonaves.Quotation.Controllers.QuotationController.PostQuotationAsync(CreateQuotationRequest request) in /home/jenkins/workspace/rodonaves.quotation_release_sp17/Rodonaves.Quotation/Controllers/QuotationController.cs:line 61\n at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at System.Threading.Tasks.ValueTask`1.get_Result()\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)\n at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)\n at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.InvokeCore(HttpContext context)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)"
}
Inclusive para teste tentei fazer diretamente pela documentação da Api, e estou recebendo o mesmo erro.
Pode me auxiliar onde eu posso estar errando, pois não fizemos nenhuma mudança por aqui.
Grato,
