Symptom
The following error is returned when calling the SAP CPQ Custom API endpoint:
POST https://<CPQ URL>/customapi/executescript?scriptName=<scriptname>
{
"Status": "Error",
"ErrorMessage": "Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.\r\nParameter name: input"
}
Read more...
Environment
SAP CPQ
Keywords
SAP CPQ API, serialization error, deserialization error, maxJsonLength property, payload size limit, 2MB restriction, request payload error, HTTP adapter issue, Content Modifier step, SAP CPI integration, JSON error , 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.
SAP Knowledge Base Article - Preview