# SDK_BOOTSTRAP_CONTEXT_MISMATCH

- Surface: SDK

## Cause

`createSplitchBrowserClient` received bootstrap evaluated for a different Targeting Key, id type, or attribute set than the client's fixed Evaluation Context.

## Fix

Generate bootstrap with `evaluateAll` for the exact context passed to the browser client. Do not catch this error and silently refetch because doing so can render another Entity's Variant.

## Related

- [SDK_CONTEXT_INVALID](https://splitch.dev/docs/error/SDK_CONTEXT_INVALID)
- [SDK_NOT_INITIALIZED](https://splitch.dev/docs/error/SDK_NOT_INITIALIZED)

Source: https://splitch.dev/docs/error/SDK_BOOTSTRAP_CONTEXT_MISMATCH