function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
agabagab 

HTTP Response size limit

Hi all,
 
Does anybody know how one can get around the 100000 bytes limit placed on the size of the response returned from an HTTP Request?  I get the following error:
 
ERROR - Evaluation error: System.CalloutException: Exceeded max size limit of 100000 with response size 100832
 
Thanks,
agab-
sfdcfoxsfdcfox
This is a governor limit, and can not be bypassed. You will need to configure the web service (if possible) to limit the amount of data output, and use multiple calls to query the additional data (you can have up to 10 callouts per execution).
agabagab
Thanks for the relpy, sfdcfox.  It seems like the only solution is, as you mentioned, for the requestor to take the necessary steps to ensure that an acceptable amount of data is being returned.
 
Thanks,
agab-