Hi,
New to Dato and Gatsby, but trying to work something out. We have a query that looks like below.
const getData = graphql`
{
dato: datoCmsHomePage {
newsTitle
newsDescription
newsBackgroundTitle
}
newsPosts: allDatoCmsBlogPost(limit: 3,sort: {fields: publishedDate,order:DESC}) {
edges {
node {
title
slug
featuredImage {
fluid {
...GatsbyDatoCmsFluid
}
}
publishedDate(formatString:"MMMM DD, YYYY")
contentNode {
childMarkdownRemark {
newsItemDescription:excerpt
}
}
author
category{
title
}
}
}
}
}
Pretty simple and it works in uat/prod. Here is the issue. If I run the same query in the API explorer, it fails.
Can anyone explain why to me?