You need to sign in to do that
Don't have an account?
Rodolfo Noviski
System.CalloutException: Exceeded max size limit of 3000000 Response Google API
Hello,
I'm doing an integration with Google Drive, but when trying to read a spreadsheet is returning me the error message:
System.CalloutException: Exceeded max size limit of 3000000
Does anyone have any idea or has been there?
Can help me, please?
Thank you
I'm doing an integration with Google Drive, but when trying to read a spreadsheet is returning me the error message:
System.CalloutException: Exceeded max size limit of 3000000
Does anyone have any idea or has been there?
Can help me, please?
Thank you
This error occur due the the size of your http calls out. If you are sending any file in body or prameters list whose size exceed to 3Mb(3000000). Then this problem occur.
Maximum size of callout request or response (HTTP request or Web services call)1 3 MB
Here is the link where you can find the limit of callout.
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
You need to check the size of body before hitting the API.
IF it helps you than please mark it as a solution and ENJOY APEX
Thanks for everyone's help