Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Our app has encountered an error while attempting to connect to the API, causing our product page to be empty.
Although the web version is working fine, the app is currently facing this problem.
We would greatly appreciate your guidance on resolving this issue.
Error code:
{"errors":[{"message":"Field 'products' doesn't exist on type 'Shop'","locations":[{"line":1,"column":7}],"path":["query","shop","products"],"extensions":{"code":"undefinedField","typeName":"Shop","fieldName":"products"}}]}
2023-10-23 18:37:15.205 4460-4924 OkHttp com.app.winelouvre D <-- END HTTP (223-byte, 176-gzipped-byte body)
2023-10-23 18:37:15.215 4460-4922 OkHttp com.app.winelouvre D <-- 200 OK https://winelouvre.myshopify.com/api/graphql (374ms)
Additionally, we used the API based on Shopify support's advise: