I'm getting the "Unexpected token 'S', "Skip to ma"... is not valid JSON" error. Please advise.

LMcCabe 0 Reputation points
2024-01-09T20:36:37.0033333+00:00

"There was an error parsing the JSON document. The document may not be well-formed. Unexpected token 'S', "Skip to ma"... is not valid JSON" error in Sharepoint online even though I am the owner of the site. Every time I make a change and refresh the page or make a change and go to another page the error comes up. I can go into settings and clear the browsing history and then reach the page but the error continues to come up every time a make a change or even just refresh a page. This is our agency intranet and I am constantly updating it. I believe this started happening after the last JSONview update. I have had the JSONview extension enabled for a couple of years, since I have a parse JSON schema in Power Automate that required me to install the extension for file attachments in a Microsoft form. I haven't had any issues until recently. Also, it seems to have an effect on SSO, since every time I clear the browsing history I get signed out of anything using SAML SSO. I do not get the error when I make changes and refresh a page in a private window. Please help!

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,229 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vinod Nair 5 Reputation points
    2025-01-03T17:37:43.0133333+00:00

    As of 1/3/2024, the only way around was to disable JSONview extension for edge to resolve this error

    1 person found this answer helpful.
    0 comments No comments

  2. AllenXu-MSFT 24,916 Reputation points Microsoft External Staff
    2024-01-10T06:40:01.4766667+00:00

    Hi @LMcCabe,

    As per my research, this error is caused by Power Automate flow. I would suggest you raising a new thread in the Power Automate community: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity. Experts actively monitors threads there.

    And I found a thread which includes the solution of the error: Error while parsing JSON: 'Unexpected character encountered while parsing value: A. Path '', line 0, position 0.'. I hope this helps.

    Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.