Why does my app fail to load in the development store?

No matter if I install the app from the Shopify partner dashboard using “Test app on development store” and clicking Install app or going manually to /auth?shop=example.myshopify.com I always get the error:

There was a problem loading this app
Please try opening or installing the app again.

and immediately I am automatically redirected to the grant permissions page:

If I accept the scopes, the app installs and everything works correctly.

Does anyone know what could be the error? My app has already been rejected 2 times (for other reasons) and I don’t want to be rejected again as they may suspend my account.

Regarding redirections, they happen as follows:

  1. Initial request to /auth?shop={shop}
Request URL: https://myserver.com/auth?shop=example-store.myshopify.com
Request Method: GET
Status Code: 302
  1. I’m redirected to /admin/oauth/authorize
Request URL: https://example-store.myshopify.com/admin/oauth/authorize?client_id=...&scope=...&redirect_uri=https://myserver.com/auth/callback&state=...&grant_options[]=per-user
Request Method: GET
Status Code: 302
  1. And redirected again to /admin/oauth/request_grant
Request URL: https://example-store.myshopify.com/admin/oauth/request_grant?access_change_uuid=...&client_id=...
Request Method: GET
Status Code: 200
2 Likes

Can confirm we’re experiencing same issue using the oauth lib:

koa-shopify-auth

^5.0.3

Will report back with solutions.

1 Like

Having same issue here

UPDATE: We spoke with the Shopify team. The error went away after a few days. We were able to resubmit it for review and they approved the app.