magento / magento2-upward-connector

Magento module for routing front-end requests to UPWARD-PHP
Open Software License 3.0
24 stars 27 forks source link

GraphQL error: Field "small_image" of type "ProductImage" must have a sub selection. #15

Closed skonudula closed 4 years ago

skonudula commented 4 years ago

Hello, I have executed all the steps which you provided in the "how to install" section, now am able to see the Venia storefront but there is an error while data fetching.

Below is the error am seeing on the application, can you help me on how can i fix this issue?

Data Fetch Error: GraphQL error: Field "small_image" of type "ProductImage" must have a sub selection.

johan-lindahl commented 4 years ago

The GraphQL interface has been updated so you need to pass a { url } selection. But I guess you will have more issues. Your problem is that your PWA store front code and your backend Magento got a version mismatch. Either downgrade your server or upgrade your PWA.

zetlen commented 4 years ago

Closing because this appears unrelated to this code.