InvalidRequestError: Request does not contain a host query parameter

I’m creating a Shopify app using node with PostgreSQL my app working fine on local with Ngrok but when i deploy on Heroku on calling app with shop it returns error.

[shopify-app/INFO] Running ensureInstalledOnShop
/app/web/node_modules/@shopify/shopify-api/lib/error.js:13
var _this = _super.apply(this, tslib_1.__spreadArray([], tslib_1.__read(args), false)) || this;
^
at InvalidRequestError.ShopifyError [as constructor] (/app/web/node_modules/@shopify/shopify-api/lib/error.js:13:28)
at new InvalidRequestError (/app/web/node_modules/@shopify/shopify-api/lib/error.js:225:42)
at /app/web/node_modules/@shopify/shopify-api/lib/auth/get-embedded-app-url.js:28:31
at step (/app/web/node_modules/tslib/tslib.js:193:27)
at Object.next (/app/web/node_modules/tslib/tslib.js:174:57)
at fulfilled (/app/web/node_modules/tslib/tslib.js:164:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
 

my root package.son dependencies

"dependencies": {
    "@shopify/app": "3.43.0",
    "@shopify/cli": "3.43.0",
    "shopify": "^0.1.0"
  },

route calling

https://{shopurl}.herokuapp.com/?shop={shopname}myshopify.com

It looks like the error you are receiving is being thrown by the @Shopify_77 /shopify-apipackage, specifically in the get-embedded-app-url.js module. This indicates that the issue might be related to the authentication flow between your app and the Shopify store.

One possible cause for this error is that the SHOPIFY_API_SECRET_KEY environment variable is not set correctly on your Heroku instance. Make sure that you have set this variable to the same value as on your local environment.

Another possible cause for this error is that the SHOPIFY_APP_URL environment variable is not set correctly on your Heroku instance. This variable should be set to the URL of your Heroku app (e.g. https://{your-app-name}.herokuapp.com/), and it should be the same as the Redirect URL that you have set in your app’s settings on the Shopify Partners dashboard.

To debug this issue further, you can try adding some logging statements to your code to see where exactly the error is being thrown. You can also check the logs of your Heroku instance to see if there are any other error messages that might provide more context.