SAP Knowledge Base Article - Preview

3675721 - Error 400 when using REST API to update product data

Symptom

  • Using the REST API to update product data but encountering a 400 error.
  • The error message states: "Provided displayAs is not one of the available display types: DisplayOnlyText, FreeInputNoMatching, HiddenCalculatedNoMatching, FileAttachment. Attribute with System ID:"
  • When attempting to set all faulty attributes to “DisplayOnlyText” via the API, another error occurs: "Product attribute can have maximum one value if display type is FreeInputNoMatching or DisplayOnlyText. Attribute with System ID:"


Read more...

Environment

SAP Sales Cloud CPQ

Keywords

rest api, error 400, product attributes, sales cloud cpq, display type, dropdown, FreeInputNoMatching, DisplayOnlyText, attribute validation, configurable products, code correction, api update , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , 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.