Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
214 stars 137 forks source link

Issue retrieving product_type #614

Closed Mikadorimune closed 4 years ago

Mikadorimune commented 4 years ago

I'm using version 3.1.2 but all of the sudden I can't retrieve any product_type, I tried to up the version to 3.2.3 but the same thing happens.

Storefront.QueryRootQuery query = Storefront.query(new Storefront.QueryRootQueryDefinition() { @Override public void define(Storefront.QueryRootQuery rootQuery) { rootQuery.shop(new Storefront.ShopQueryDefinition() { @Override public void define(Storefront.ShopQuery shopQuery) { shopQuery.productTypes(20, new Storefront.StringConnectionQueryDefinition() { @Override public void define(Storefront.StringConnectionQuery productTypeQuery) { productTypeQuery.edges(new Storefront.StringEdgeQueryDefinition() { @Override public void define(Storefront.StringEdgeQuery productTypeQueryEdge) { productTypeQueryEdge.node(); } }); } }); } }); } });

Is my code wrong or something else since I used this code for months and it works until now

Mikadorimune commented 4 years ago

I'm getting this error as well

com.shopify.buy3.GraphNetworkError: Failed to execute GraphQL http request

rebeccajfriedman commented 4 years ago

We believe that this issue has been resolved. Please reopen a ticket if the problem persists.

ashwaniRoshan commented 4 years ago

I'm getting this error as well

com.shopify.buy3.GraphNetworkError: Failed to execute GraphQL http request

ashwaniRoshan commented 4 years ago

We believe that this issue has been resolved. Please reopen a ticket if the problem persists.

I'm getting this error as well

com.shopify.buy3.GraphNetworkError: Failed to execute GraphQL http request

ghost commented 4 years ago

Did you solve this issue?