SAP Knowledge Base Article - Public

3657635 - You area facing the error "Failed to process the inbound message." "Last name missing" while tries to replicate a Business Partner.

Symptom

You face the error below while tries to replicate a Business Partner.

{
    "code": "inbound-data-connector.132",
    "message": "Failed to process the inbound message.",
    "details": [
        {
            "code": "400",
            "message": "{\"error\":{\"message\":\"Last name missing\",\"code\":\"sap.crm.md.service.businessPartnerService.businessPartnerMessage.personNameMissing\"}}"
        }
    ],
    "errorDetailsAsJson": "[{\"code\":\"400\",\"message\":\"{\\\"error\\\":{\\\"message\\\":\\\"Last name missing\\\",\\\"code\\\":\\\"sap.crm.md.service.businessPartnerService.businessPartnerMessage.personNameMissing\\\"}}\",\"details\":[],\"errorDetailsAsJson\":null}]"
}

Environment

  • SAP Sales Cloud and SAP Service Cloud Version 2 integration with S/4Hana.
  • SAP Sales Cloud and SAP Service Cloud Version 2 integration with ERP.

Reproducing the Issue

In SSCv2,

  1. Go to "Settings".
  2. Go to "All Settings" tab.
  3. Under Integration tab, go to "Message Monitoring".
  4. Search for the message ID: XXXXXXXXX.
  5. Check the error message 
    {
        "code": "inbound-data-connector.132",
        "message": "Failed to process the inbound message.",
        "details": [
            {
                "code": "400",
                "message": "{\"error\":{\"message\":\"Last name missing\",\"code\":\"sap.crm.md.service.businessPartnerService.businessPartnerMessage.personNameMissing\"}}"
            }
        ],
        "errorDetailsAsJson": "[{\"code\":\"400\",\"message\":\"{\\\"error\\\":{\\\"message\\\":\\\"Last name missing\\\",\\\"code\\\":\\\"sap.crm.md.service.businessPartnerService.businessPartnerMessage.personNameMissing\\\"}}\",\"details\":[],\"errorDetailsAsJson\":null}]"
    }

Cause

You are replicating a Business Partner that is a Person, but doesn't have a name or last name. 

Resolution

System behaviour. It is not allowed to have a Business Partner that is a Person without a name.

Keywords

sap.crm.md.service.businessPartnerService.businessPartnerMessage.personNameMissing, Last name missing, Name missing. , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , How To

Product

SAP Sales Cloud and SAP Service Cloud Version 2 all versions