cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Commerce OCC: Max field size exceeded

1,802

When executing an OCC API that returns many fields (e.g. requesting FULL as fields), we got the following error.

{"errors":[{"message":"Max field set size exceeded. Reason of that can be : too generic configuration, lack of properly defined BASIC field set level for data class, reccurency in data structure","type":"ConversionError"}]}

In other post, someone responded that the following bean is used for limiting the field size.

<alias="fieldSetBuilder" name="defaultFieldSetBuilder"/> <bean id="defaultFieldSetBuilder"class="de.hybris.platform.webservicescommons.mapping.impl.DefaultFieldSetBuilder"><propertyname="defaultRecurrencyLevel" value="4"/><propertyname="defaultMaxFieldSetSize" value="50000"/><propertyname="fieldSetLevelHelper" ref="fieldSetLevelHelper"/></bean>

The question is what is the proper way of increasing the defaultMaxFieldSetSize in Commerce.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Hi everyone,

Please check the below mentioned KBA

https://me.sap.com/notes/3427848/E

Thank you