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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / SAFE\_SCAPI\_FALLBACK\_STATUSES

# Variable: SAFE\_SCAPI\_FALLBACK\_STATUSES

> `const` **SAFE\_SCAPI\_FALLBACK\_STATUSES**: `Set`\<`number`\>

Defined in: [packages/b2c-tooling-sdk/src/clients/scapi-backend-utils.ts:136](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/clients/scapi-backend-utils.ts#L136)

HTTP statuses that prove SCAPI rejected a request before performing it.

These are safe for the temporary `auto` compatibility mode to retry over
OCAPI. Ambiguous responses (`429`, `5xx`) and network failures are excluded
because a mutating request might already have reached the platform.
`400` is excluded too: the request was authenticated and understood well
enough to be validated, so the body/params are wrong and OCAPI would only
hide that error (or fail differently). Fix the request instead.
