Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected end of JSON input #108

Closed
elazar opened this issue Aug 20, 2018 · 4 comments
Closed

SyntaxError: Unexpected end of JSON input #108

elazar opened this issue Aug 20, 2018 · 4 comments

Comments

@elazar
Copy link

elazar commented Aug 20, 2018

We've had over 3,900 recurrences of this issue in the last week. It appears to happen in Chrome 67 and 68 on Windows.

SyntaxError: Unexpected end of JSON input
1 File "webpack:///./node_modules/ldclient-js/dist/ldclient.es.js" line 1 col 14836 in EventSource.put
function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var base64=create...
2 File "webpack:///./node_modules/logrocket/dist/build.umd.js" line 1679 col 1 in EventSource.o
return func.apply(this, args);
@eli-darkly
Copy link
Contributor

Hmm. What version of the JS SDK are you using?

@elazar
Copy link
Author

elazar commented Aug 20, 2018

@eli-darkly 2.1.0. Suppose we could try upgrading. Any idea if this was a known issue in that version or versions since?

@eli-darkly
Copy link
Contributor

It's not something we've seen before as far as I know, but knowing the version helps in tracking down the exact code path that's responsible.

@eli-darkly
Copy link
Contributor

Also, could you email your account name to eli@launchdarkly.com so we can try to reproduce this problem with your particular flag data?

eli-darkly added a commit that referenced this issue Dec 7, 2018
(2) move entire client implementation into common package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants