Development discussions around Shopify APIs
Hi, I did all the steps to be able to use the call POST /admin/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)
My app is already a sale channel and the Scope (unauthenticated_...) has already been added.
If any idea about it, please let me know
( is my issue in link with what happened to Shopify ? https://status.shopify.com/#week )
It looks like this error will surface under any of these conditions:
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
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
@Alex That's fine and all, but none of that actually gives much to work with as a solution.
If the token generated via authorizing the app, which gives access to the Admin API, isn't also valid to make requests to the `/admin/api/2019-04/storefront_access_tokens.json` endpoint, then what needs to be done further?
A fuller explanation of the error, followed by an actual solution, or course of action, would be much appreciated.
@brianhayes the solution to the issue should be to use an access token which does not fall under the aforementioned three possible states. If you feel that your access token does not fall under any of those states, you can provide me with your app's ID (the integer found at the end of the URL in your partner dashboard when inspecting the app), a shop ID, and a time frame (last 12 days will give me access to logs).
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
@Alex I have the same issue, please help me to figure it out. My app id: 2832799. Thank you!
@Borbit thanks for the app ID. Can I also get a shop (ID or domain) and a time frame within the last 12 days? The more recent the better.
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
User | RANK |
---|---|
49 | |
15 | |
9 | |
7 | |
5 |
Thanks 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, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023