Loading

Override an enforced quota on B2C Commerce sandboxes

게시 일자: Apr 13, 2026
상세 설명

How to override an enforced quota on a B2C Commerce (formerly Commerce Cloud) sandbox when the same quota has NOT been relaxed in the Primary Instance Group (PIG) instances i.e. Production, Staging and Development.

솔루션

Environment: Sandboxes (POD + ODS)

Procedure:
The steps below outline the steps necessary to override a quota on a sandbox that has not been relaxed on your Primary Instance Group (PIG) instances i.e. Production, Staging and Development. Therefore, if you already have the quota(s) lifted in those instances, follow the steps in Implementing Quota Overrides instead.

Steps:

  • Login to the sandbox instance where you want to override / relax the quota.
  • Go to Administration >  Site Development >  Site Import & Export.
  • Under Export section, expand the "Global Data" and select "Custom Quota Settings"
  • Provide a name in the "Archive Name" field and click Export.
  • Once the export completes, download the file.
  • After extracting the contents of the exported file, it will contain a sub-folder called "custom-quotas" and a file called "version.txt".
  • Open "custom-quotas" folder which contains a single XML file called "quota-overrides.xml".
  • Open the XML file and modify it by adding the <quota> & <custom-action> tags as shown in the example below:


  <quotas>
     <quota id="quota-id"// Example: "api.session.maxStringLength"
        <custom-action>warn</custom-action>
     </quota>
  </quotas>

  • Ensure that <custom-action> is always set to "warn"
  • Save the file and compress the main folder into a zip file.
  • Go back to Administration >  Site Development >  Site Import & Export, upload the modified zip file and re-import it.
  • Under Administration > Operations > Quota Status, you should now see that the status of the quota modified above says "No" under the Enforced column.


Note: 
While you can export quota settings from all instances, quotas can only be imported into sandboxes. Attempts to import these settings into Primary Instance Group (PIG) instances i.e. Production, Staging and Development are ignored by the system.

Knowledge 기사 번호

000393632

 
로드 중
Salesforce Help | Article