Graphql missing HTML

Hello,

I have two page types allPrismicBlog and allPrismicHome.

In allPrismicBlog I can easily query values by html, but in allPrismicHome I dont have this.

Both pagetype settings are same. How I can use html query in allPrismicHome?

query MyQuery {
allPrismicBlog {
edges {
node {
data {
blog_content {
html
raw
text
}
}
}
}
}
allPrismicHome {
edges {
node {
data {
join_community {
url
type
text
}
}
}
}
}
}

Hy Karl, welcome to the community

Hello, thanks,

Yep i updated json file in project:

    {
  "Main" : {
    "uid" : {
      "type" : "UID",
      "config" : {
        "label" : "Page URL"
      }
    },
    "seo_title" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "SEO title"
      }
    },
    "seo_description" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "SEO description"
      }
    },
    "seo_image" : {
      "type" : "Image",
      "config" : {
        "constraint" : { },
        "thumbnails" : [ ],
        "label" : "SEO image"
      }
    },
    "above_fold_title" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Above fold title"
      }
    },
    "first_button_text_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First button text above"
      }
    },
    "first_button_link_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First button link above"
      }
    },
    "second_button_text_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second button text above"
      }
    },
    "second_button_link_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second button link above"
      }
    },
    "after_above_header" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "After above header"
      }
    },
    "after_above_content" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "After above content"
      }
    },
    "first_title__four_sections_" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First title (four sections)"
      }
    },
    "first_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First desc. (four sections)"
      }
    },
    "second_title__four_sections_" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second title (four sections)"
      }
    },
    "second_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second desc. (four sections)"
      }
    },
    "third_title__four_sections_" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Third title (four sections)"
      }
    },
    "third_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Third desc. (four sections)"
      }
    },
    "fourth_title__four_sections_" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Fourth title (four sections)"
      }
    },
    "fourth_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Fourth desc. (four sections)"
      }
    },
    "merchant_title" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant title"
      }
    },
    "merchant_desc" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant desc."
      }
    },
    "merchant_first_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant first button"
      }
    },
    "merchant_second_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant second button"
      }
    },
    "members_count" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Members count"
      }
    },
    "members_desc" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Members desc"
      }
    },
    "join_community" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Join community"
      }
    },
    "quickspec" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Quick spec"
      }
    },
    "read_the_whitepaper" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Read the whitepaper"
      }
    },
    "steps_to_grow" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Steps to grow"
      }
    },
    "create_an_ecosystem" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Create an ecosystem"
      }
    },
    "build_the_community" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Build the community"
      }
    },
    "scale___co-operate" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Scale & co-operate"
      }
    },
    "discover_ecosystem" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Discover ecosystem"
      }
    },
    "discover_ecosystem_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover ecosystem button"
      }
    },
    "discover_ecosystem_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover ecosystem link"
      }
    },
    "download_wallet" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Download wallet"
      }
    },
    "download_wallet_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Download wallet button"
      }
    },
    "download_wallet_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Download wallet link"
      }
    },
    "get_dags" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Get dags"
      }
    },
    "get_dags_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Get dags button"
      }
    },
    "get_dags_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Get dags link"
      }
    },
    "discover_the_ecosystem" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Discover the ecosystem"
      }
    },
    "discover_the_ecosystem_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover the ecosystem button"
      }
    },
    "discover_the_ecosystem_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover the ecosystem link"
      }
    }
  }
}

Hey Karl, sorry for the delay. Are you still having this issue?

Thanks for sending over the JSON of the Custom type. We'll make a test with it to try and reproduce this on our end.

Update: we're currently investigating this issue; there's another open similar thread that we're simultaneously tracking. As soon as we have more information about this, we'll let you all know.

Thanks

Hello Karl, we did a few tests with your Custom type and concluded that dashes in the API IDs of the fields cause problems when trying to generate the schema.

Could you try with this updated version and tell me it it works?

{
  "Main" : {
    "uid" : {
      "type" : "UID",
      "config" : {
        "label" : "Page URL"
      }
    },
    "seo_title" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "SEO title"
      }
    },
    "seo_description" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "SEO description"
      }
    },
    "seo_image" : {
      "type" : "Image",
      "config" : {
        "constraint" : { },
        "thumbnails" : [ ],
        "label" : "SEO image"
      }
    },
    "above_fold_title" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Above fold title"
      }
    },
    "first_button_text_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First button text above"
      }
    },
    "first_button_link_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First button link above"
      }
    },
    "second_button_text_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second button text above"
      }
    },
    "second_button_link_above" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second button link above"
      }
    },
    "after_above_header" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "After above header"
      }
    },
    "after_above_content" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "After above content"
      }
    },
    "first_title__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First title (four sections)"
      }
    },
    "first_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "First desc. (four sections)"
      }
    },
    "second_title__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second title (four sections)"
      }
    },
    "second_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Second desc. (four sections)"
      }
    },
    "third_title__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Third title (four sections)"
      }
    },
    "third_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Third desc. (four sections)"
      }
    },
    "fourth_title__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Fourth title (four sections)"
      }
    },
    "fourth_desc__four_sections" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Fourth desc. (four sections)"
      }
    },
    "merchant_title" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant title"
      }
    },
    "merchant_desc" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant desc."
      }
    },
    "merchant_first_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant first button"
      }
    },
    "merchant_second_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Merchant second button"
      }
    },
    "members_count" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Members count"
      }
    },
    "members_desc" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Members desc"
      }
    },
    "join_community" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Join community"
      }
    },
    "quickspec" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Quick spec"
      }
    },
    "read_the_whitepaper" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Read the whitepaper"
      }
    },
    "steps_to_grow" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Steps to grow"
      }
    },
    "create_an_ecosystem" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Create an ecosystem"
      }
    },
    "build_the_community" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Build the community"
      }
    },
    "scale_cooperate" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Scale & co-operate"
      }
    },
    "discover_ecosystem" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Discover ecosystem"
      }
    },
    "discover_ecosystem_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover ecosystem button"
      }
    },
    "discover_ecosystem_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover ecosystem link"
      }
    },
    "download_wallet" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Download wallet"
      }
    },
    "download_wallet_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Download wallet button"
      }
    },
    "download_wallet_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Download wallet link"
      }
    },
    "get_dags" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Get dags"
      }
    },
    "get_dags_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Get dags button"
      }
    },
    "get_dags_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Get dags link"
      }
    },
    "discover_the_ecosystem" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "label" : "Discover the ecosystem"
      }
    },
    "discover_the_ecosystem_button" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover the ecosystem button"
      }
    },
    "discover_the_ecosystem_link" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "embed",
        "label" : "Discover the ecosystem link"
      }
    }
  }
}

This issue has been closed due to inactivity. Flag to reopen.