App: Product Page Shows Empty When Connect To Shopify API

App: Product Page Shows Empty When Connect To Shopify API

Inbase_Vincent
New Member
4 0 0

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)

Reply 1 (1)

Inbase_Vincent
New Member
4 0 0

Additionally, we used the API based on Shopify support's advise:

The latest stable versioning they suggested is https://shopify.dev/docs/api/usage/versionin