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 |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022