LaunchDarkly allFlags throws LaunchDarklyFlagFetchError Expected application/json content type but got...

This was not an SDK bug: a browser extension was rewriting the response Content-Type header into the duplicated value "application/json, application/json; charset=utf-8", which failed the SDK content-type check. The reporter confirmed the problem came from the extension and the issue was closed as resolved on their side. If you see this exact error, disable browser extensions one by one, especially header-modifying or ad-blocking extensions, to find the culprit.

Source: https://github.com/launchdarkly/js-client-sdk/issues/205

Source: https://github.com/launchdarkly/js-client-sdk/issues/205