Solved

There was a problem loading this app

JuanH
Shopify Partner
7 1 2

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:

Error.png

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:

Grant scopes.png

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 

 

 

2. 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 

 

 

3. 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 

 

 

Accepted Solution (1)

JuanH
Shopify Partner
7 1 2

This is an accepted solution.

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.

View solution in original post

Replies 3 (3)

nextlead
Shopify Partner
4 0 2

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

 

koa-shopify-auth 
^5.0.3
 
Will report back with solutions.

MatiSap
Shopify Partner
1 0 0

Having same issue here

JuanH
Shopify Partner
7 1 2

This is an accepted solution.

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.