{
  "httpStatusCode": 500,
  "errorCode": "generic_exception",
  "message": "Object reference not set to an instance of an object.",
  "context": {},
  "errorMessages": [],
  "innerErrorMessages": [],
  "stackTrace": "   at Apaya.Connector.Clients.AmazonPaymentServices.WebhookProcessor.CanHandleWebhook(RawWebhook rawWebhook)\r\n   at IM.AP.Webhooks.Infrastructure.WebhookServicesResolver.<>c__DisplayClass4_0`1.<Resolve>b__0(T processor) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Infrastructure/IM.AP.Webhooks.Infrastructure/WebhookServicesResolver.cs:line 30\r\n   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)\r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   at IM.AP.Webhooks.Infrastructure.WebhookServicesResolver.Resolve[T](IEnumerable`1 handlers, RawWebhook rawWebhook, T defaultHandler) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Infrastructure/IM.AP.Webhooks.Infrastructure/WebhookServicesResolver.cs:line 29\r\n   at IM.AP.Webhooks.Infrastructure.WebhookServicesResolver.GetWebhookProcessor(RawWebhook rawWebhook) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Infrastructure/IM.AP.Webhooks.Infrastructure/WebhookServicesResolver.cs:line 23\r\n   at IM.AP.Webhooks.Application.Webhooks.WebhookReceivedHandler.Process(WebhookReceived notification) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Core/IM.AP.Webhooks.Application/Webhooks/WebhookReceived.cs:line 85\r\n   at IM.AP.Webhooks.Application.Webhooks.WebhookReceivedHandler.Handle(WebhookReceived notification, CancellationToken cancellationToken) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Core/IM.AP.Webhooks.Application/Webhooks/WebhookReceived.cs:line 43\r\n   at IM.AP.Webhooks.Application.Webhooks.WebhookReceivedHandler.Handle(WebhookReceived notification, CancellationToken cancellationToken) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Core/IM.AP.Webhooks.Application/Webhooks/WebhookReceived.cs:line 71\r\n   at MediatR.Mediator.PublishCore(IEnumerable`1 allHandlers, INotification notification, CancellationToken cancellationToken)\r\n   at IM.AP.Webhooks.WebApi.Controllers.WebhooksController.HandleWebhookGet(String connector) in /home/vsts/work/88/s/ApayaSourceCode/Connectors-Webhooks-Service/Presentation/IM.AP.Webhooks.WebApi/Controllers/WebhooksController.cs:line 37\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)"
}