Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Error Messages

Bryan Tarantina edited this page Aug 3, 2018 · 1 revision

IBM Food Trust™ Error Messages

Message: { "message": "The processing instruction target matching \"[xX][mM][lL]\" is not allowed." }

Action: Remove whitespace before the opening <?xml> tag.


Message: { "message": "Content is not allowed in prolog." }

Action: Remove all data before the opening <?xml> tag.


Message: {"message": "Root xml is not supported."}

Action: Verify that at least one of the following root XML tag:namespace pairs is included:

  • Purchase Order: order:orderMessage
  • Despatch Advice: despatch_advice:despatchAdviceMessage
  • Receive Advice: receiving_advice:receivingAdviceMessage
  • Master Data Item: item_data_notification:itemDataNotificationMessage
  • Master Data Facility: basic_party_registration:basicPartyRegistrationMessage
  • EPCIS Event: epcis:EPCISDocument

Message: {"message": "The string \"--\" is not permitted within comments."}

Action: Verify that comments in the XML file are correctly formed as <!--comment--> and remove any additional dash characters (-).


Message: { "message": "ERROR: cvc-complex-type.2.4.a: Invalid content was found starting with element 'action'. One of '{childEPCs}' is expected." }

Action: The <childEPCs> tag must be present in the XML; however, the tag can contain no <epc> elements.


Message: { "message": ": childEPCs and childQuantityList cannot both be empty." }

Action: Ensure that epcList or quantityList (or both) are present in the XML, and are correctly formed URNs.


Message: {"message": "ERROR:cvc-datatype-valid.1.2.1:'2006-01-10T12:00:01.000-05:00' is not a valid value for 'date'.}

Action: Ensure that the <date> element contains only date information, and no time information. For example, the orderLogisticalInformation -> orderLogisticalDateInformation -> requestedDeliveryDateTime -> date field in a Purchase Order must contain only date information.


Clone this wiki locally