## The problem
Issue DevCycleHQ/js-sdks#913 (closed, 9 comments): I have recently included DevCycle in my application and experienced unexpected behavior. My expectation is that the client should not initialize if DVC cannot be reached or an invalid client SDK key is provided. ### Reproduce steps #### Scenario 1 An invalid SDK key is provided to the client. #### Scenario 2 The DVC server cannot be reached. I was able to reproduce this by blocking network requests to DVC servers in Chrome devtools.
## What fixed it
Fixed in @devcycle/js-client-sdk v1.28.7. Before that, an invalid SDK key or an unreachable DevCycle server meant onClientInitialized never threw and identifyUser could hang, blocking app load. After the fix, an invalid key falls back to your default flag values as intended, and the hanging behavior when the server can't be reached is fixed too. If you hit init problems on the DevCycle JS SDK, upgrade to 1.28.7 or later and keep a try/catch around onClientInitialized so defaults are used when init fails.