today i run in a weird bug or whatever … actually i’m not able yet to identify the reason
on dev store i get null or empty array whatever query i run on product / collections
for instance:
query {product(handle:"product-handle") {id}}
return:
{
"data": {
"product": null
}
}
while fetching https://mytore.myshopify.com/products/product-handle.json work fine
the same for:
query {collection(handle:"collection-handle") {id}}
and
https://mytore.myshopify.com/collections/collection-handle.json
so my question is … i’m just doing something wrong like GQL have some hidden cap that rest does not have or i should keep using rest api because GQL it’s not stable yet?
ok recreate the storefront token worked for me
but i still have the same question … are Storefront GQL API stable or weird stuff like this may happen again?