App reviews, troubleshooting, and recommendations
I am seeing some issues when I host a version of my custom shopify app to test. It works absolutely fine when ran locally using 'npm run dev' command but when I build and host the app I am running into issues.
I am able to install the hosted version of the app on a development store and the front end displays without issues. Also the store appears in the 'installed stores' list. But, when I go to use anything that uses the 'useAuthenticatedFetch' call for the api, the service redirects to the top level auth endpoint with the shop as undefined.
I am also getting "SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON" being returned from one of the oauth javascript files when the auth endpoint is hit with the undefined shop in the query string.
Anyone came across this issue?
Solved! Go to the solution
This is an accepted solution.
Okay so this has been resolved, just adding this comment incase anyone else experiences this issue.
Turns out the server was stripping the auth headers from every request! So just had to do some configuration around that.
I have also noticed that when I kick off a request to my app api layer the result from the
This is an accepted solution.
Okay so this has been resolved, just adding this comment incase anyone else experiences this issue.
Turns out the server was stripping the auth headers from every request! So just had to do some configuration around that.
Hi @sel_jmc
what's the solution, can you please share? I am getting "No Shop provided error"
Thanks in advance 🙂
Girish | Shopify Expert
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- My Shopify Apps: App Store | Looking for a solution to a problem in your store? Send me an email
Hey, can you share the solution? I am getting a 403 forbidden error when I build and deploy the project and install it to a store. Locally the API works fine with "useAuthenticatedFetch()"
Girish | Shopify Expert
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- My Shopify Apps: App Store | Looking for a solution to a problem in your store? Send me an email
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025