SAP Knowledge Base Article - Public

2633066 - Error "XMLValidationException" When Replicating Data From C4C


You are replicating data from C4C to an external system. However, the messages are failing with error HTTP 500.

The error details shows the following

Error details:
Reason: XML Validation for payload with root element name , target namespaceFailed!Errors Encountered During Parsing
1.cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type ''.
2.cvc-attribute.3: The value ' ' of attribute 'listAgencyID' on element is not valid with respect to its type, 'null'.
3.cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type ''.


SAP Hybris Cloud for Customer


The schema validation for Web Services is disabled in your scoping. With this validation disabled, the C4C will send several attributes in payload with minLength = '1'. If you do not fill these attributes in your middleware, the message will fail with this exception


Enable the scoping question following the steps below

  1. Go to Business Configuration and select Implementation Projects
  2. Click on Edit Project scope
  3. Go to step Questions
  4. Follow this path: Communication and Information Exchange->Business Process Management->Process-Integrated Input and Output Management
  5. Enable the question: Do you want to download WSDLs supporting elements with initial value?


XMLValidationException; attributes null; minLength null; values empty in payload; , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , Problem


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions