json serialization error on initialization

Vote:
 

I have an error that has just started to occur recently on an episerver site i am working on. When i try to browse to any page i get the following error:

Error reading string. Unexpected token: StartArray. Path '', line 1, position 1.

the error is occuring when i try to get the site start page from the content loader in an initialization module, this is the code where it breaks down:

var startPageLink = ContentReference.StartPage;
if (ContentReference.IsNullOrEmpty(startPageLink))
    return;

var startPage = context.Locate.ContentLoader().Get(startPageLink);

From what i can tell episerver is strugling to read json data because it is either empty or in an unexpected format.

Has anyone experiecned this issue before? I'd really appreciate some help in resolving it

thanks

Sam

#183976
Oct 25, 2017 10:45
Vote:
 

I am facing the same issue and I cannot find anything helpful in the internet. 

Is there anybody who has solved it, or did Sam solve it?

Thanks

#195077
Jul 12, 2018 15:59
Vote:
 

What is in your start page model?

#195082
Jul 12, 2018 20:20
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.