You are executing an OData call, to create or update data in the system. In the OData payload you have included an extension field of codelist type for which you are only providing the description value and you are receiving the below error message, as response from the OData call:
"Specified code value XYZ is not valid"
(XYZ refers to the code value)
SAP Hybris Cloud for Customer 1802 and higher.
The error message is raised because the system has been enhanced with a new validation, to check the code list data provided for extension fields of such type. This is a necessary measure, to ensure data correctness.
To avoid receiving the error message, you should always provide the code value instead of the code description, for a code list field.
code list field, extension field, code list description , KBA , BC-DWB-REP-EXT , Extensibility , Product Enhancement