Installing a shopifyapp Rails app in a dev store fails on the OAuth step with this error. The app ran on the local machine behind ngrok, and the redirecturi parameter sent during installation did not exactly match any URL in the Partners dashboard whitelist. The mismatch can be subtle: a different ngrok subdomain, http vs https, a trailing slash, or a double slash (e.g. ...//auth/shopify/callback) caused by a trailing slash in the app host env var.