Development discussions around Shopify APIs
Hi, I made all the steps to be able to use the call POST /admin/api/2019-07/storefront_access_tokens.json
Unfortunately, I got the error {"errors": "Token must be service access."}
I tried this call manually using the X-Shopify-Access-Token generated by app (token still valid of course). The app is already a sales channel and unauthenticated_... scopes have already been added.
Please help to figure it out. App id: 3143539
Solved! Go to the solution
This is an accepted solution.
Hey @Borbit ,
As you may have learned from this thread, there are three conditions that would cause this "Token must be service access" error to be thrown:
1. Your access token is a per-user online access token
2. Your access token is a delegate access token
3. There is a unexpired refresh token that exists
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
This is an accepted solution.
Hey @Borbit ,
As you may have learned from this thread, there are three conditions that would cause this "Token must be service access" error to be thrown:
1. Your access token is a per-user online access token
2. Your access token is a delegate access token
3. There is a unexpired refresh token that exists
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
User | RANK |
---|---|
51 | |
11 | |
8 | |
6 | |
6 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023