Falha no commit do Feed

Boa tarde

Estamos faendo o consumo do feed da api "/api/oms/pvt/feed/orders/status?maxLot=20" onde recebo o Rest abaixo:

{

"orderId": "MRC-1641810385",

"status": "ready-for-handling",

"dateTime": "2018-02-20T14:43:47.0997957+00:00",

"commitToken": "Fulfillment##{\"Receipt\":\"AQEBbx1nWICn/LFOG3TQGgz2HqKy88YAPLCzWJbMHbbZ2eoF1oT39NbLtAM+/wXdkblUlx53pHtBvIKTo8uZipFCOH367taLuWJINEwwtd8YCZ35ryX74gf2/w30J76TZXOsV9Z8O+RVo1R4XLJDLe9hmRZcZgVRiXCUyHixhEU13whmv2H43EIDjo03TL4pKdh0qYmSagSlcwtbcrYEvXqR9GcXIXgKN1IF1nQ3etTxUT1coMRCrg4ikoep/FRDbK3xRF/NbMWd7Lr4Me19lTj7q7rcShzN2EKVZ0F0t4k63kqA5BiKuI6J6zGYDCWQSeijqGkU8Y1GMvXcFPVlp8jPEXz94XRqq11Z7rrJDlHibAsTnfXc/KrXiyERRiYyb8kH7y65MNDbWMogWC6KtffLT9TduEC3KSmflFVizR0hJ0IxRUtC4hMyMWHSxDZohIW+izZLjXfwMnehk0dfq1IUnA==\",\"PublisheId\":\"86992AB9668A4F70B386D01C45F9F682\",\"PublisheId_Item\":\"86992AB9668A4F70B386D01C45F9F682\",\"EventId\":\"Fulfillment_VTEXWorkflowStateChanged_21CA8DD089584B129D299AE0DB57B779_ready-for-handling\",\"LastSendOverwrite\":null}"

}

Meu envio de /api/oms/pvt/feed/orders/status/confirm abaixo:

{

"commitToken": "Fulfillment##{\"Receipt\":\"AQEBbx1nWICn/LFOG3TQGgz2HqKy88YAPLCzWJbMHbbZ2eoF1oT39NbLtAM+/wXdkblUlx53pHtBvIKTo8uZipFCOH367taLuWJINEwwtd8YCZ35ryX74gf2/w30J76TZXOsV9Z8O+RVo1R4XLJDLe9hmRZcZgVRiXCUyHixhEU13whmv2H43EIDjo03TL4pKdh0qYmSagSlcwtbcrYEvXqR9GcXIXgKN1IF1nQ3etTxUT1coMRCrg4ikoep/FRDbK3xRF/NbMWd7Lr4Me19lTj7q7rcShzN2EKVZ0F0t4k63kqA5BiKuI6J6zGYDCWQSeijqGkU8Y1GMvXcFPVlp8jPEXz94XRqq11Z7rrJDlHibAsTnfXc/KrXiyERRiYyb8kH7y65MNDbWMogWC6KtffLT9TduEC3KSmflFVizR0hJ0IxRUtC4hMyMWHSxDZohIW+izZLjXfwMnehk0dfq1IUnA==\",\"PublisheId\":\"86992AB9668A4F70B386D01C45F9F682\",\"PublisheId_Item\":\"86992AB9668A4F70B386D01C45F9F682\",\"EventId\":\"Fulfillment_VTEXWorkflowStateChanged_21CA8DD089584B129D299AE0DB57B779_ready-for-handling\",\"LastSendOverwrite\":null}"

}

Acontece que ao fazer o confirm em /api/oms/pvt/feed/orders/status/confirm esta dando o retorno abaixo, o que pode ser?

{"error": {

"code": "1",

"message": "Object reference not set to an instance of an object.",

"exception": {

"ClassName": "Vtex.Practices.ServiceModel.Client.Exceptions.InternalServerErrorException",

"Message": "Object reference not set to an instance of an object.",

"Data": null,

"InnerException": {

"ClassName": "System.NullReferenceException",

"Message": "Object reference not set to an instance of an object.",

"Data": null,

"InnerException": null,

"HelpURL": null,

"StackTraceString": " at Vtex.Commerce.Oms.WebApi.FeedApiController.<ConfirmSubscriptionOrderStatus>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Vtex.Commerce.Oms.WebApi.Filter.AccessControlFilter.<ExecuteActionFilterAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()",

"RemoteStackTraceString": null,

"RemoteStackIndex": 0,

"ExceptionMethod": "8\nMoveNext\nVtex.Commerce.Oms.WebApi, Version=1.5.267.1184, Culture=neutral, PublicKeyToken=null\nVtex.Commerce.Oms.WebApi.FeedApiController+<ConfirmSubscriptionOrderStatus>d__1\nVoid MoveNext()",

"HResult": -2147467261,

"Source": "Vtex.Commerce.Oms.WebApi",

"WatsonBuckets": null

},

"HelpURL": null,

"StackTraceString": null,

"RemoteStackTraceString": null,

"RemoteStackIndex": 0,

"ExceptionMethod": null,

"HResult": -2146233088,

"Source": null,

"WatsonBuckets": null

}

}}

Oi @Eduardo Nakamatu​, pelo menos uma cliente nossa recebeu 1153 e-mails de agradecimento referente ao mesmo nĂșmero de reservas criadas dentro do nosso ERP. Sem a VTEX receber a confirmação de leitura do pedido, nosso script ficou processando reiteradamente o mesmo pedido durante todo o perĂ­odo de falha. :/