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 136 forks source link

access denied when retrieving product details #603

Closed tahir90 closed 5 years ago

tahir90 commented 5 years ago

Iam able to see collections list and products list but when i click a product, it gives me the following response

{
 "data": {},
 "errors": [
   {
     "message": "access denied",
     "locations": [
       {
         "line": 1,
         "column": 112
       }
     ],
     "path": [
       "node",
       "tags"
     ]
   }
 ]
}

My request:

{node(id:"Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzEwMTEwMzc1MDM1MzE="){__typename,... on Product{id,title,descriptionHtml,tags,images(first:250){edges{node{src}}},options{id,name,values},variants(first:250){edges{node{id,title,availableForSale,selectedOptions{name,value},price}}}}}}

I am using the sample sdk branch release 3.3.2

tahir90 commented 5 years ago

waiting for someone to reply to me on this.

rebeccajfriedman commented 5 years ago

@tahir90 you need to ensure that your private app settings allow you to show your product tags. Under apps > Manage private apps (at the bottom) > open your app and update the configurable settings as follows:

image

Hope that helps! please reopen if this is not the issue.