Affected: client-side & server-side SDK
Symptoms
Errors similar to the following can occur when initializing the SDK:
[LaunchDarkly] Invalid context specified. Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.
Cause
The context's key is an empty string or undefined.
Solution
When creating a context, ensure that the context key is not an empty string or undefined.