Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Access Denied while accessing Mobile IOS SDK Storefront API

Access Denied while accessing Mobile IOS SDK Storefront API

pd3
Tourist
7 2 2

I have been using the Mobile IOS SDK Storefront API to obtain products on my store. I was able to obtain products until yesterday.

Today I made changes to the query(adding tags). And I am getting an error 

invalidQuery(reasons: [Buy.Graph.QueryError.Reason(message: "access denied"

The query in question:

{collections(first:10){edges{node{id,title,image(maxWidth:390,maxHeight:390){transformedSrc},products(first:25){edges{node{id,title,tags,description,variants(first:250){edges{node{id,title,priceV2{amount,currencyCode},image{transformedSrc}}}}}}}}}}}

Any help will be greatly appreciated.

 

 

 

 

Reply 1 (1)

Perfect365
Tourist
5 0 1

Maybe you should open this switch on your "private app" dashboard:

Perfect365_0-1622421452691.png