SAP Knowledge Base Article - Preview

3760895 - Updating contacts via API fails when using field string IDs for single-choice/multi-choice fields - SAP Engagement Cloud

Symptom

An error occurs when updating contacts via API using the field string ID. For example, to update the field ID 31 (Opt-in), the field string ID "optin" is used in the payload instead of the ID 31:

{"2007":"Invalid choice id for field id: optin"}.

Using the field ID "31" instead of the field string ID"optin" works in the same request.


Read more...

Environment

SAP Engagement Cloud, Emarsys Edition

Product

SAP Emarsys all versions

Keywords

contact write api, update contacts, string field id, field string id, optin, single choice, multi choice, invalid choice id, replycode 2007, http 400, choice field, field id 31, emarsys api, segment creation, contact update , KBA , CEC-EMA-CON , Contacts , CEC-EMA-DIM , Data Infrastructure Management & Enablement , 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.