The following reusable field schemas do not exist

2025/05/10 5:39 PM

Some web page types inherit from a reusable schema, some do not. The below query for my sitemap throws the error "The following reusable field schemas do not exist 'BasePage'". I ran codegen for the content types and reusable schema types. I am not sure why I am getting this error.

var b = new ContentItemQueryBuilder()
    .ForContentTypes(c => c
        .OfReusableSchema(IBasePage.REUSABLE_FIELD_SCHEMA_NAME)
        .ForWebsite(website.WebsiteChannelName))
    .InLanguage(preferredLanguageRetriever.Get());

Environment

Tags:
Content types v30.1.0

Answers

To answer this question, you have to login first.