Hi there ![]()
This error occurs when the redirect_uri during OAuth for your application is not listed in the Allowed redirection URL(s) on the App Setup page for your app in the Partner Dashboard.
If you are using the Shopify CLI, each time you restart the server a new tunnel URL is created, and the redirection URLs in the partner dashboard need to be updated. But the Shopify CLI can do this for you! If you run the command npm run dev – --reset, you will be able to run through the the set up again for your app. Make sure to select Always by default, for the option: Have Shopify automatically update your app’s URL in order to create a preview experience?
Let me know if this solves the problem!