2023-02-27 23:18:47,836:ERROR :Thread-23_OSI_ORDER_ARCHIVE: [1677539927836]Error_description_not_available []: []: []: s.s.s.s.s.s.OSIOrderArchiveAgent
2023-02-27 23:18:47,844:ERRORDTL:Thread-23_OSI_ORDER_ARCHIVE: [1677539927836]<?xml version=“1.0” encoding=“UTF-8"?>
<Errors>
<Error ErrorCode=“OSI10_0011”
ErrorDescription=“Error_description_not_available” ErrorRelatedMoreInfo=“com.ibm.cmus.api.FailureResponse$BadRequest: OrderPart ‘name’ is invalid. Valid values are order, orderLine, orderAudit and the OrderPart names configured on Order Archival Service.“>
<Attribute Name=“ErrorCode” Value=“OSI10_0011"/>
<Attribute Name=“ErrorDescription” Value=“Error_description_not_available”/>
<Attribute Name=“ErrorRelatedMoreInfo” Value=“com.ibm.cmus.api.FailureResponse$BadRequest: OrderPart ‘name’ is invalid. Valid values are order, orderLine, orderAudit and the OrderPart names configured on Order Archival Service.“/>
<Attribute Name=“DocumentType” Value=“0001"/>
<Attribute Name=“FailureCode” Value=“OSA-DV-005"/>
<Attribute Name=“OrderNo” Value=“Y224264338"/>
<Attribute Name=“StartSeq” Value=“1"/>
<Attribute Name=“TransactionId” Value=“OSI_ORDER_ARCHIVE”/>
<Attribute Name=“noOfFailures” Value=“3"/>
<Attribute Name=“PartName” Value=“orderRelease”/>
<Attribute Name=“Id” Value=“20220225125148424888206"/>
<Attribute Name=“OrderHeaderKey” Value=“20220225125148424888206"/>
<Attribute Name=“EnterpriseCode” Value=“RETAIL”/>
<Attribute Name=“FailureStatus” Value=“400"/>
<Attribute Name=“EndSeq” Value=“2"/>
<Stack>com.yantra.yfc.util.YFCException
at com.ibm.sterling.osi.archive.order.handler.OrderArchiveHandler.processBulkOutput(OrderArchiveHandler.java:846)
at com.ibm.sterling.osi.archive.order.handler.OrderArchiveHandler.bulkArchive(OrderArchiveHandler.java:531)
at com.ibm.sterling.osi.archive.order.handler.OrderArchiveHandler.archiveJsonOrder(OrderArchiveHandler.java:309)
at com.ibm.sterling.osi.archive.agent.OSIOrderArchiveAgent.archiveOrder(OSIOrderArchiveAgent.java:519)
at com.ibm.sterling.osi.archive.agent.OSIOrderArchiveAgent.bulkArchiveOrder(OSIOrderArchiveAgent.java:433)
at com.ibm.sterling.osi.archive.agent.OSIOrderArchiveAgent.executeJob(OSIOrderArchiveAgent.java:322)
...
at com.yantra.interop.services.jms.JMSConsumer.run(JMSConsumer.java:385)
at java.lang.Thread.run(Thread.java:825)
</Stack>
</Error>
</Errors>
Corresponding error snippet from the Order Service logs:
ERROR [2023-02-27T23:18:45,597] c.i.c.e.OrderStorageException (vert.x-worker-thread-20: 54) {} Exception. Full stacktrace follows:
com.ibm.cmus.api.FailureResponse$BadRequest: OrderPart ‘name’ is invalid. Valid values are order, orderLine, orderAudit and the OrderPart names configured on Order Archival Service.
at com.ibm.sterling.order.archive.handlers.OrderArchiveResolvers.validateOrderPart(OrderArchiveResolvers.java:102) [order-service-1.0-full.jar:?]
...
at java.lang.Thread.run(Unknown Source) [?:?]
ERROR [2023-02-27T23:18:45,598] c.i.c.e.OrderStorageException (vert.x-worker-thread-21: 55) {} Exception. Full stacktrace follows:
com.ibm.cmus.api.FailureResponse$BadRequest: OrderPart ‘name’ is invalid. Valid values are order, orderLine, orderAudit and the OrderPart names configured on Order Archival Service.
at com.ibm.sterling.order.archive.handlers.OrderArchiveResolvers.validateOrderPart(OrderArchiveResolvers.java:102) [order-service-1.0-full.jar:?]
at com.ibm.sterling.order.archive.handlers.OrderArchiveResolvers.archiveOrders(OrderArchiveResolvers.java:189) [order-service-1.0-full.jar:?]
…
at java.lang.Thread.run(Unknown Source) [?:?]