SAP Knowledge Base Article - Public

2729838 - Error 'Value is longer than the maximum permitted length X: "+123" for Country Code


You replicate data from an external system (e.g. ERP, CRM, Sucess Factors etc.) and when the message arrives in Cloud for Customer (C4C), it fails with the following error message:

'Value is no longer than the maximum permitted length X: +123' (X represents the length of the value and 123 the Dialling Country Code)


SAP Hybris Cloud for Customer

Reproducing the Issue

Pre-requisites: you have a working communication scenario between C4C and an external system.

  1. You send e.g. Business Partners from your external system to C4C.
  2. Go to the Administrator work center.
  3. Open Web Service Message Monitoring in the General Settings view.
  4. Observe the failed message.


Current issue is that you are sending +123 (CountryDiallingCode) in place of ABC (CountryCode) which is not allowed by C4C.


To fix the issue, you should change the middleware mapping and use CountryDiallingCode instead of CountryCode.


KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem


SAP Cloud for Customer add-ins 1811 ; SAP Cloud for Customer add-ins 1902