There was a codename collision when transforming content type and content type snippet codename to a GraphQL type name. Your GraphQL type 'PageNews' is generated from content type {"Name":"Page - News","Codename":"page___news","Id":"9a075af6-3a03-4268-bf9a-f7e9994e6198"}, content type snippet {"Name":"Page News","Codename":"page_news","Id":"45edbc35-3367-4c67-9c8e-6e7cbcd38e01"}. To fix the codename collision, use such codenames for your content type and content type snippet that remain unique even after removing the underscore characters.

GraphQL request

Reference File380.js
Query NameArticleBySlug
All Queries Used
  • fragmentArticle
  • ArticleBySlug

	
 fragment fragmentArticle on Article {
     
tldr
title
slug
publishDate
intro
heroThumbnailImage {
  value
}
category(limit:2) {
  items {
    _system_ {
      name
      codename
    }
  }
}
body {
  html
  linkedItems(limit:3) {
    items {
      ... on CaptionedImage {
        __typename
        imageAsset {
          value
        }
        _system_ {
          codename
          id
        }
      }
      ... on LegacyVideoPlayer {
        __typename
        jwVideoId
        youtubeVideoId
        _system_ {
          codename
          id
        }
      }
    }
  }
  components(limit:3) {
    items {
      ... on CaptionedImage {
        __typename
        imageAsset {
          value
        }
        _system_ {
          codename
          id
        }
      }
      ... on LegacyVideoPlayer {
        __typename
        jwVideoId
        youtubeVideoId
        _system_ {
          codename
          id
        }
      }
    }
  }
}
    _system_ {
        codename
        id
    }

 }

	query ArticleBySlug($slug: String!, $locale: String!) {
		article_All(
			where: {slug: {eq: $slug}}
			languageFilter: {languageCodename: $locale}
		) {
			items {
				... on Article {
					...fragmentArticle
				}
			}
		}
	}