You need to sign in to do that
Don't have an account?

100KB Http Response Limit
I have coded a web service callout using the vanilla Http, HttpRequest, and HttpResponse classes and am receiving this error:
System.CalloutException --> Exceeded max size limit of 100000
I do not control the web service I am calling, and have no way to reduce the size of the returned XML. This limit is way too small for many real world situations. Two questions:
- When will SFDC increase this limit?
- If I change my code to use the WSDL2Apex code generation capabilities of the platform (as it is a SOAP service that happened to be easy to code by me as an Http callout) is the limit on a SOAP response 1 MB or 100 KB? The documentation says 1 MB, but similar postings seem to indicate that the 100 KB limit is in effect for all callout types...
Thanks!
Dave
Hi Dave,
I am stuck with a similar situation :(
Did you get your answer? What are the limits currently enforced in such a case?
Would be of great help if you could let me know!
Thanks,
Cool_D
Cool_D --
I have been told by SFDC that the 100 KB limit will be increased to 1 MB in the Spring Release.
You will currently receive a callout exception if you try to read an HTTP response body larger than 100 KB. You can catch this exception and try to deal with it somehow....
Dave
Thanks so much Dave for the quick response!
This is real bad. 100KB is nothing :(
Cool_D