Hi
I am using the bit bucket pipelines for Salesforce i am getting the below error on commit of files to repo.
Error: {http://soap.sforce.com/2006/04/metadata}EXCEEDED_MAX_SIZE_REQUEST - EXCEEDED_MAX_SIZE_REQUEST: Maximum size of request reached. Maximum size of request is 52428800 bytes.
Please help!!
Thanks.
Hi @adarh_1
This error when trying to submit a request larger than 52 MB to the salesforce. The first step is for you to figure out why such a large request is being made and whether this is being done in error. If it is not you may have to find some way of either restricting the size of the request or splitting the request into several requests.
A similar error will occur if you made the same request from outside pipelines as in the case of https://community.atlassian.com/t5/Bamboo-questions/Salesforce-Bamboo-Maximum-size-of-request-is-52428800-bytes/qaq-p/1040582.
In one case a user was accidentally trying to upload the wrong directory which led to the large request size (https://github.com/solenopsis/Solenopsis/issues/254).
More limits on the soap api for salesforce can be found here https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_apicalls.htm.
Cheers,
Tom.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.