strapi-starter-gatsby-blog icon indicating copy to clipboard operation
strapi-starter-gatsby-blog copied to clipboard

error query data

Open devbewill opened this issue 2 years ago • 1 comments

ERROR #85923  GRAPHQL
There was an error in your GraphQL query:
Cannot query field "hero" on type "StrapiHomepage".
Cannot query field "seo" on type "StrapiHomepage".
Cannot query field "siteName" on type "StrapiGlobal".

etc.

i've added the/apiafter http://localhost:1337 because:

GET /homepage?_limit=1000 (1 ms) => -------> 404
GET /api/homepage?_limit=1000 (12 ms) ------> 200

i cant see those nodes in graph explorer too so i don't understand why

Help me pls

devbewill avatar Dec 12 '21 00:12 devbewill

Strapi have yet to update the URLs on their tutorials. Have a look here https://github.com/strapi/starters-and-templates/tree/main/packages/templates/blog

sir-octopus avatar Jan 11 '22 07:01 sir-octopus