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
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:
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