All things Shopify and commerce
Hello guys,
I keep on getting this error on my app whenever customer try storefront
I don't know how and why this comes up
Does anyone knows why this will happen
Thanks in advance.
2025-04-21T12:16:06.424739+00:00 app[web.1]: InvalidShopError: Received invalid shop argument 2025-04-21T12:16:06.424750+00:00 app[web.1]: at file:///app/node_modules/lib/utils/shop-validator.ts:39:13 2025-04-21T12:16:06.424757+00:00 app[web.1]: at Object.getOfflineId (file:///app/node_modules/lib/session/session-utils.ts:24:43) 2025-04-21T12:16:06.424758+00:00 app[web.1]: at createOrLoadOfflineSession (file:///app/node_modules/@shopify/src/server/authenticate/helpers/create-or-load-offline-session.ts:14:42) 2025-04-21T12:16:06.424759+00:00 app[web.1]: at Object.storefront (file:///app/node_modules/@shopify/src/server/unauthenticated/storefront/factory.ts:15:27) 2025-04-21T12:16:06.424760+00:00 app[web.1]: at FetchOffers (file:///app/build/server/index.js?t=1745037897000:7862:48) 2025-04-21T12:16:06.424760+00:00 app[web.1]: at loader$1 (file:///app/build/server/index.js?t=1745037897000:7997:26) 2025-04-21T12:16:06.424761+00:00 app[web.1]: at Object.callRouteLoader (/app/node_modules/@remix-run/server-runtime/dist/data.js:59:22) 2025-04-21T12:16:06.424761+00:00 app[web.1]: at handler (/app/node_modules/@remix-run/server-runtime/dist/routes.js:54:39) 2025-04-21T12:16:06.424761+00:00 app[web.1]: at actualHandler (/app/node_modules/@remix-run/router/router.ts:4922:14) 2025-04-21T12:16:06.424762+00:00 app[web.1]: at /app/node_modules/@remix-run/router/router.ts:4936:13 2025-04-21T12:16:06.426128+00:00 app[web.1]: OPTIONS /api/storefront/fetch?shop=www.absolutist.in&pid=8747943592172 500 - - 2.361 ms 2025-04-21T12:16:20.477675+00:00 heroku[router]: at=info method=OPTIONS path="/api/storefront/fetch?shop=$shop&pid=8747943592172" host=
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025