strapi / strapi-starter-gatsby-blog

Updated version of the first Gatsby starter with much more features
https://strapi-starter-gatsby-blog-orcin.vercel.app/
MIT License
141 stars 58 forks source link

error query data #33

Open devbewill opened 2 years ago

devbewill commented 2 years ago
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

sir-octopus commented 2 years ago

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