SDK_CONTEXT_INVALID
Cause
An Evaluation Context contains an invalid field: createSplitchBrowserClient was given one without a non-empty targetingKey, or evaluate / evaluateDetails received an empty or non-string explicit idempotencyKey.
Fix
For the browser client, pass context: { targetingKey: … } at construction. For evaluate / evaluateDetails, omit idempotencyKey so the SDK generates one, or pass a non-empty string and reuse it for every attempt of an application-managed retry.
splitch