SAP Knowledge Base Article - Preview

3845547 - SAP Engagement Cloud - Corporate Account API /contactRelations endpoint runs into 400 Bad Request error

Symptom

A POST /corporateAccounts/v1/contactRelations request runs into the following error:

400 BAD_REQUEST: Invalid request payload.
ContactRelationWithInternalIdCreateDto: accountId should not be null or undefined.
ContactRelationWithInternalIdCreateDto: accountId must be a valid UUID.
ContactRelationWithInternalIdCreateDto: accountId should not be empty.
ContactRelationWithInternalIdCreateDto: contactId should not be null or undefined.
ContactRelationWithInternalIdCreateDto: contactId should not be empty.
ContactRelationWithInternalIdCreateDto: contactId must be a string.
ContactRelationWithExternalIdCreateDto: accountIdField must start with "identifications/"


Read more...

Environment

  • SAP Engagement Cloud - Enterprise Edition
  • SAP Engagement Cloud - Emarsys Edition

Product

SAP Emarsys all versions ; SAP Engagement Cloud all versions

Keywords

corporate account api, contact relations, 400 bad_request, invalid request payload, accountid should not be null, valid uuid, accountidfield must start with identifications, contactid must be a string, c4cDisplayId, c4cBusinessPartnerId, external id, standard id fields, validation error, relationship not visible, json brackets , KBA , CEC-EMA-ACC , Corporate Accounts/Lists , CEC-ENG-ACC , Corporate Accounts/Lists , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.