-
Notifications
You must be signed in to change notification settings - Fork 227
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
Extension causes JSON parse error when loading SharePoint page #210
Comments
I was experiencing this intermittently in the past and I've identified the cause was not JSONView alone. After disabling all but the JSONView extension the problem was not occurring for me. I've reenabled other extensions one at a time and ultimately identified another extension (don't remember which one) that was causing the problem. In my case, I've dropped the usage of that other extension. |
Since I am on a company-controlled version of Edge, I do not have full control over the extensions. My current extensions are these If I re-enable JSONVIEW it breaks - if I disable it, it works fine. I cannot disable the "iswebhook" extension, so I cannot for sure say that it is not a combination of these two. I can say, however, that I noticed the new behaviour around Christmas - so it sort of fits with the new update of the extension. I will look into having the "iswebhook" extension disabled to trouble-shoot further 😊 |
I was just told that the "iswebhook" extension (Lakeside Systrack Agent) was installed on our PCs in March 2023, so this extension and JSONview has been living nicely side by side for almost 9 months. I will continue to investigate if I can disable it to confirm the root cause of SharePoint load issues. |
It seems likely that removing the webRequestBlocking permission is the culprit - it works for directly viewing JSON but SharePoint must be doing something weird. Unfortunately if that's the case JSONView will cease to be after the ManifestV3 transition. |
I can confirm the issue as well when using firefox 120.0.1 on linux. |
Hello, I have the same error in Edge when I open a SharePoint site. If I deactivate this extension it works again. Other link for test : https://microsoftedge.github.io/Demos/json-dummy-data/256KB-min.json |
I've submitted a new version of JSONView, I don't know when it'll be approved. |
I get the same error: MSEdge (Version 122.0.2365.80 (Official build) (64-bit)) returns: "There was an error parsing the JSON document. The document may not be well-formed." However, there is no error, as the developer tools shows. Simple repro in Azure Function that returns raw JSON.
|
Is this still happening on the 3.0.0 version of JSONView? |
I'll have a look when 3.0.0 is available from the firefox add-ons site. |
I just checked and it seems ok now for me. |
Cool, feel free to reopen if this re-occurs. |
When using version 3.0.1, I still get an error.
|
That's unfortunate. Can you provide me with a Sharepoint site I can access to test with? |
No, sorry. It is the company's sharepoint and I'm only a user. |
OK well I'll reopen it but I can't do anything until I can see a site like this. |
You could try this sharepoint site: https://fraunhofer.sharepoint.com/ |
As an intermediate solution, would it be possible to add a quickly accessible toggle to turn jsonview on and off? Right now it takes several clicks to turn it off, and a few more clicks to turn it back on. |
Describe the bug
When I have the extension enabled I cannot load our internal SharePoint intranet. When I disable the extension, the page loads fine but after enabling it (repeatedly) the load of the page fails.
I have used the extension for about 6 months, and I have not seen this error before. Maybe it was caused by the December 17th update.
The error is
"There was an error parsing the JSON document. The document may not be well-formed."
What browser are you using?*
I am using Edge on Windows
Where did you install JSONView from?
I have installed it through Microsoft extension Store.
The text was updated successfully, but these errors were encountered: