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

Failed to parse App Insights JSON data: Unexpected token o in JSON at position 0 #96

Open
ahavriluk opened this issue Mar 8, 2023 · 2 comments

Comments

@ahavriluk
Copy link

Application Insights
Policy: B2C_1A_SIGNIN
Correlation Id: 02fcd83d-553a-4743-b8cb-e3c73dc1cb87
App insights Id: dfbef799-bd62-11ed-a10a-002248291c02, dfbef795-bd62-11ed-a10a-002248291c02 (The report shows a combination of two Application Insight entities)
App insights timestamp: 2023-03-07 19:39:02
User journey is completed: Unknown (JSON parse exception)
Orchestration steps: , 3, 2, 2
Internal error
Failed to parse App Insights JSON data: Unexpected token o in JSON at position 0

@Cpcrook
Copy link

Cpcrook commented Dec 11, 2024

I've run into this issue as well. In troubleshooting it, I did notice that this does not seem to be in an issue when debugging the current master branch locally. Whatever version is published as latest in the VS Code marketplace (IIRC v1.3.5) doesn't seem to reflect what is in master here. It appears to have been an issue with the JSON for a given App Insights item being truncated to ~3k characters, causing it to appear malformed.

Unfortunately, the lack of use of releases or version tags here makes it hard to tell exactly what commit hash each version corresponds to.

@dynamicapps
Copy link

Running into this now as well.
Failed to parse App Insights JSON data: Unexpected non-whitespace character after JSON at position 11876 (line 458 column 2)

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

3 participants