SAP Knowledge Base Article - Preview

3773045 - Error when clearing extension fields using empty string: "Data format for ABC is invalid. Use code"

Symptom

  • You get an error when trying to clear an extension field using API Patch calls
  • Return validation error: “Data format for ABC is invalid. Use CODE”. (ABC is an extension field of format CODE)
  • Issue can occur with extension fields of other Type and Format as well


Read more...

Environment

SAP Sales Cloud and SAP Service Cloud Version 2

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0

Keywords

extension field, api patch, empty string, null, code list, validation error, data format invalid, use code, clear field, sales and service cloud v2, extensions payload, account service, code value , KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , How To

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.