Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,824
Community Members
 
Community Events
165
Community Groups

Salesforce Bitbucket Sync

Hello Everyone,

 

I am newbie to bitbucket, kindly suggest the better approach for my requirement. In our project we use Bitbucket. We have two Orgs namely prod and UAT, both the Orgs having metadata of api version 37 in the respective bitbucket repository where recently we have done all Org's metadata api change to 52. The Challenge is the repositories are not sync with Org, how can we resolve this issue.

Approach tried:

Created a new branch and try to push all the metadata to that particular branch in the pipelines we are receiving SIZE error specifically 

"/opt/atlassian/pipelines/agent/build/build/build.xml:44: Failed to submit request to domain name/services/Soap/m/35.0/00D7Y000000H1cP for user User id.Error: {http://schemas.xmlsoap.org/soap/envelope/}Client - Maximum size of request reached. Maximum size of request is 52428800 bytes."

 

1 answer

1 vote

Hi @Sourav Kumar Mohanty,

This error occurs when someone tries to submit a request larger than 50 MB to Salesforce:

This is not specific to Pipelines, a similar error will occur if you try to make the same request outside Pipelines, like in the following case:

The first step would be to figure out why such a large request is being made and whether it is done on purpose or by mistake.
If it is done on purpose, you may need to find a way to restrict the size of the request or split the request into several smaller ones, each within the Salesforce limit.

Kind regards,
Theodora

Hello Theodora,

 

Thanks for the reply.

Is it possible to increase the size in salesforce, if not what the other way to tackle such scenario.

We have a requirement where we need to sync our org(both UAT and Prod) to respective repositories in bit bucket.

Previously we had metadata of api version below 40 in both the Org repositories in bit bucket, recently we made all the metadata api version updation to 52 so we need to sync as per org metadata to respective repositories in bit bucket.

Is there any reference where we can create the repository from scratch for the Org will also be helpful for my requirement.

 

Thanks

Hi @Sourav Kumar Mohanty,

Is it possible to increase the size in salesforce, if not what the other way to tackle such scenario.

I'm not aware if it's possible to increase the request limit, it's best to contact Salesforce support team regarding this, give them more details on the requests you are making and also ask for advice specific to your use case.

If the large request is being made on purpose, then I imagine that you may need to find a way to restrict the size of the request or split the request into several smaller ones, each within the Salesforce limit. I believe that the Salesforce team is best equipped to help you with this, since it concerns their product.

Is there any reference where we can create the repository from scratch for the Org will also be helpful for my requirement.

If you'd like to create a new repository in Bitbucket Cloud you can check the following doc:

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,247 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you