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

Init failing with package ("^1.7.0") but succeeds with html snippet #166

Open
acomito opened this issue Mar 5, 2023 · 1 comment
Open

Comments

@acomito
Copy link

acomito commented Mar 5, 2023

I have a brand new fullstory account/orgId and I setup the npm package in a react app, but I can't get any sessions.

I log the ready callback and the sessionUrl is an empty string.

I also see

Screenshot 2023-03-05 at 6 56 40 PM

Screenshot 2023-03-05 at 6 56 05 PM

But if a plug the html snippet into , same orgId etc-- it works.

My Fullstory.init is simple: orgId, debug: true

@patrick-fs
Copy link
Member

patrick-fs commented Mar 6, 2023

Hi @acomito thanks for using our browser SDK!

I looked into this and was able to reproduce by adding a ' character to the end of my orgId parameter like this: FullStory.init({ orgId: "o-12345-na1'", debug: true }, (url) => {});

Which renders console output like this:

image

Is it possible that you have a typo?

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