Support Article

JSON response taking long time to parse

SA-36137

Summary



Connect REST takes a very long time to parde a long JSON response.

Error Messages



Not Applicable

Steps to Reproduce



1. Configure a Connect REST rule.
2. Test it for an end point with a long JSON response.



Root Cause



A defect or configuration issue in the operating environment

A long JSON response causes this issue. The incoming JSON response is parsed on the PRPC side. If the response is long, the parsing time increases and this increases the overall time to process the incoming response.

Resolution



Perform the following local-change:

Restrict the incoming data to the size or content that actually needs to be a part of the response.
Also, remove the redundant NULL tags from the response.

Published April 6, 2017 - Updated May 1, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.