How to access or create Storefront token ?

Asif_Esketchers
Shopify Partner
3 0 1

Hello! 

I am trying to access or create Shopify storefront access token. For that, I am following the Shopify documentation [LINK] and I followed the process as defined on doc but I am getting the error in response. 

{
    "errors": "App must have a channel record to create a storefront access token."
}

On the time of authentication, I also defined the unauthenticated scope as well. (unauthenticated_read_content, unauthenticated_write_customers, unauthenticated_write_checkouts, unauthenticated_read_product_listings) but still getting this error. 

asif|esketchers
dylanpierce
Shopify Partner
92 1 23

Were you able to create an Storefront Access Token? I've been struggling with this and I've tried converting my App into a Sales Channel and I've included scopes for all of the unauthenticated endpoints but still 403'ing while trying to create a Storefront Access Token.

Founder of Verdict - Anti-Fraud Apps for Shopify
  • Blockade - Easily block countries, IP addresses, VPNs
  • Real ID - Verify your customer's real IDs easily & securely
0 Likes
Jetson
New Member
2 0 0

I'm getting the same error: 

App must have a channel record to create a storefront access token.
 
I am testing the API in postman and it is returning me this error. Can someone help with the resolution to this? 
0 Likes
mjdth
Shopify Partner
13 1 3

Did anyone find a solution to this? I think the app needs to show up in the sales channels for the store, but not sure how to get it in there as a test app.

0 Likes
mjdth
Shopify Partner
13 1 3

Figured it out: Go to your dev app, click App Settings, go down to Sales Channel, and enable it there.  It will then become a sales channel as well and have a channel record.

0 Likes
mjdth
Shopify Partner
13 1 3

Nevermind, I did all of that and my dev app is showing up as a sales channel but it's still returning the same error.

0 Likes
seandz
Excursionist
52 3 8

Same here, I enabled the app as a Sales Channel but also see this error.

0 Likes
carlosjunior198
New Member
2 0 0

I have the same problem! Someone managed to solve?

0 Likes
Peter1983
Tourist
4 0 0

I need the Storefront access token too, as the admin token doesn't provide a way to retrieve a product list with "BEST_SELL" sorting.

However, That is crazy, the admin doesn't provide such a feature and come to dead end with this.

0 Likes