strapi / strapi-starter-gatsby-catalog

Strapi Starter Gatsby Catalog
strapi-starter-gatsby-catalog-strapijs.vercel.app
MIT License
28 stars 16 forks source link

ERROR #85923 GRAPHQL #10

Closed srzern closed 3 years ago

srzern commented 3 years ago

I get a lot of this errors

` There was an error in your GraphQL query:

Cannot query field "image" on type "StrapiProduct".

If you don't expect "image" to exist on the type "StrapiProduct" it is most likely a typo. However, if you expect "image" to exist there are a couple of solutions to common problems:

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "StrapiProduct": https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: src\pages\products\index.js:41:11`