Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Salesforce Bitbucket Sync

Sourav Kumar Mohanty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2021

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2021

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

Sourav Kumar Mohanty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2021

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

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2021

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
AUG Leaders

Atlassian Community Events