> For the complete documentation index, see [llms.txt](https://docs.changeup.com/salesforce/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.changeup.com/salesforce/salesforce-b2c-commerce/other-notes/failover.md).

# Failover

If the ChangeUp API experiences a failure, users will be given the option of donating only to the default selected charity.

### Known Issues

{% code lineNumbers="true" %}

```javascript
Array.prototype.every = function (callback) { const { length } = this;
    for (let index = 0; index < length; index += 1) { 
        const value = this[index];
            if (!callback(value, index, this)) { return false;}
    }
    return true;
};

```

{% endcode %}

If the client-side Javascript needs to be recompiled for the **bm\_changeup** cartridge, a code update is needed in an **autocomplete.js** file **node\_modules > autocomplete.js > zepto.js**. This update needs to go in on line 7 of the file above. This is due to Business Manager utilizing the Prototype.js library that overrides the default functionality of the `Array.prototype.every` function.

This leads to client-side script errors when autocomplete.js tries to initialize its DOM elements.

<br>
