---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/code](../index.md) / DEFAULT\_MAX\_ARCHIVE\_BYTES

# Variable: DEFAULT\_MAX\_ARCHIVE\_BYTES

> `const` **DEFAULT\_MAX\_ARCHIVE\_BYTES**: `number`

Defined in: [packages/b2c-tooling-sdk/src/operations/code/archive.ts:33](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/operations/code/archive.ts#L33)

Default per-archive size limit for code deploy (200 MiB).

Salesforce documents a 500 MB limit for a WebDAV push, and some instances
reject anything larger outright. Uploads well below that can still be cut
off when they take too long, so the default leaves room for slower links.
