SAP Knowledge Base Article - Public

2879011 - Calling the API API_PRODUCT_SRV ( Method POST or PATCH ) returns the error "Property 'ProductDescription' at offset '122' has invalid value"

Symptom

    The API API_PRODUCT_SRV  ( Method POST or PATCH ) returns the error "Property 'ProductDescription' at offset '122' has invalid value"

Environment

  • SAP S/4HANA Cloud
  • Master Data

Cause

Incomplete Payload file

The error "Property 'ProductDescription' at offset '122' has invalid value" appears when the description maintained is too long.

The field ProductDescription has a max Length of 40

Resolution

System works as designed.

Maintain a ProductDescription  less than the Maximum 40 characters

Keywords

API_PRODUCT_SRV , material master , ODATA , 'Product Master (A2X)' , KBA , LO-MD-MM , Material Master , LO-MD-FIO-MM , Fiori UI for Product Master , How To

Product

SAP S/4HANA Cloud all versions