Try our conversational search powered by Generative AI!

Content with id X is of type Related Links Block which does not inherit required type PageData


I am not sure how this is even possible as we are not indexing blocks and the id in the error.  Why are we getting this when its trying to covert it when its a page data object

Content with id '11057' is of type 'Castle.Proxies.RelatedLinksBlockProxy' which does not inherit required type 'EPiServer.Core.PageData'

when i look at the item in the index with 11057, you can see below:

    "SearchSubsection$$string": "2015",
    "AlternateTitle$$string": "Get the Facts about the NCLEX-RN",
    "GetTimestamp$$date": "2015-12-09T20:59:33.3387188Z",
    "IsPendingPublish$$bool": false,
    "ContentLink": {
        "IsExternalProvider$$bool": false,
        "WorkID$$number": 0,
        "ID$$number": 11057,
        "$type": "EPiServer.Find.Cms.IndexableContentReference, EPiServer.Find.Cms",
        "___types": [
    "SetChangedOnPublish$$bool": false,
    "_TypeDisplayName": "News Item",
    "MasterLanguageBranch$$string": "en",
    "$type": "CNO.Models.Pages.NewsItemPage, CNO",

Any help would be appreciated.

Dec 09, 2015 22:55

When do you get this error?

Is there a mismatch between the cms and the index? Is the content with ID 11057 a block or a page in the cms?

Dec 11, 2015 9:03
* 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.