# vwoSDK.getAndUpdateSettingsFile is not a function

## The problem

The VWO docs say getAndUpdateSettingsFile is available in the Node.js SDK from v1.10 onward, but calling vwoSDK.getAndUpdateSettingsFile() throws not a function even on v1.10. The method lives on the client instance, not on the SDK module object.

## The verified fix

Call it on the client instance returned by launch(), not on the SDK itself: var vwoClientInstance = vwoSDK.launch({ settingsFile: settingsFile }); vwoClientInstance.getAndUpdateSettingsFile().then(...). That is the documented usage.

Source: https://github.com/wingify/vwo-node-sdk/issues/8