## TL;DR

Always pass a real default to getVariable, typed to match the variable. Choose defaults that represent the safe product behavior, since they also serve during SDK outages.

## Steps

1. Always pass a real default to getVariable, typed to match the variable. Choose defaults that represent the safe product behavior, since they also serve during SDK outages. Audit flag reads for missing defaults before launch.

## When to use

You are seeing this: Choose defaults that represent the safe product behavior, since they also serve during SDK outages. Use this skill when you run into "VWO getVariable needs a real default value every time".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
