Closed apblbl closed 2 years ago
I have the same error after cloning this repo. Again, Shopify has the worst documentation I've ever seen. I find the same small errors in almost every article.
Shopify dev or writers missing few steps, requirement steps:
If you use Shopify apps for the first time your brain might explode, this documentation will confuse you. Shopify devs, please, don't reply to this message. Just update your documentation. Shame on you.
Error:
` ┃ TypeError: Cannot read property 'storefrontAccessToken' of null
Error object inside Response:
[ ┃ { ┃ message: 'StorefrontAccessTokenCreate access denied', ┃ locations: [ [Object] ], ┃ path: [ 'storefrontAccessTokenCreate' ] ┃ } ┃ ]
I am using the following scopes : -
SCOPES=write_products,write_customers,write_draft_orders,unauthenticated_read_product_listings,read_product_listings
I followed all the steps given at https://shopify.dev/marketplaces/getting-started/get-started-with-shopify-marketplace-kit
EDIT: NVM, I thought I had turned app into sales channel but apparently not.