SAP Knowledge Base Article - Preview

3325785 - JSONTokener has reached recursion depth limit of 500

Symptom

  • Working with the REST Adapter in Process Integration (PI) or Process Orchestration (PO) 7.50 SP25 or higher the below error may occur: 
    JSONTokener has reached recursion depth limit of 500
  • This may impact a previously working integration and after updating the SP25 or SP26 this issue is reported. 
  • Or if you are testing new integrations you may also get the error if your integration requires a large JSON payload with multiple nodes - an error similar to below is thrown: 
    MP: exception caught with cause com.sap.aii.adapter.rest.ejb.parse.InvalidJSonContent:Invalid JSON message content used; Message: "JSONTokener has reached recursion depth limit of 500"      


Read more...

Environment

SAP NetWeaver 7.5

Product

SAP NetWeaver 7.5

Keywords

JSON, REST Sender, payload, limit, size , KBA , BC-XI-CON-RST , Rest Adapter , 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.