App reviews, troubleshooting, and recommendations
hey, i have an embedded shopify cli node app (https://shopify.dev/apps/getting-started/create), and am trying to make requests from the react frontend to custom routes on the server ive created. ive tried including the 'X-Shopify-Access-Token' and 'Authorization' headers with the correct access token from app-bridge-utils 'getSessionToken()' but receive a 302 redirect with some html that appears to be attempting to authenticate, but im expecting a json response. using axios for the requests
in the network call, i see the following response header: location: /auth?shop=undefined, and my route is never being triggered on the server
any help would be much appreciated!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024