Headless commerce and custom storefronts with Shopify APIs and SDKs
I'm trying to make a post request for a storefront access token and I got this error. From looking around in the posts I see that my access token may be one of 3 different conditions, but I don't know which of them it could be. I was following the authentication tutorial in "Build a shopify app with Node and React". Could anyone let me know what the problem with my access token is?
The access token was generated today on 10/10/2020.
The access token is within your app. So locate the app screen in your store's dashboard and click on the link, there you should find your key/ token. Good luck, and let me know how you get on!
I believe that's only the case with private apps, but the one I'm making is a public one. Sorry for not mentioning that before.
I've just had another read of your initial question and realised that you are in fact making a request for the token.
The solution in this case:
..was to omit the access_token parameter when making the request. Have you done that already?
I have left it omitted when authenticating, but I still received the same error. I was hoping that an admin or staff could possible determine the problem like in the post you shared because nothing seems to stand out in my code.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023