What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

This app can't be installed using this link. Contact the app developer for more information.

This app can't be installed using this link. Contact the app developer for more information.

stefchrono
Shopify Partner
1 0 0

Built a custom Python/Django app. Using the install link in the Partners dashboard to install the app works fine. However, using the permission link doesn't. The permission link is of the following format: https://SHOP-NAME.myshopify.com/admin/oauth/authorize?client_id=API-KEY&scope=SCOPES&redirect_uri=WHITELISTED-URL 

 

Any Python people seen this?

 

I cannot use the install url in the Partners dashboard as I cannot attach scopes to it - unless I'm missing something. 

 

Any help would be much appreciated.

Screenshot 2023-12-08 at 21.11.16.png

Replies 2 (2)

Liam
Community Manager
3108 344 895

 

Hi Stefchrono,

 

It's possible that this issue is not related to Python, but more to do with how Auth and permissions are set up. Some things you can check: 

  • Double-Check App Settings: Go through your app settings in the Shopify Partners dashboard to confirm the API key, whitelisted redirection URLs, and scopes.

  • URL Encoding: Ensure that the permission URL is correctly encoded, especially if your scopes or redirect URIs contain characters that need encoding.

  • Error Handling: Modify your app to handle and display errors during the OAuth process. This can provide more insight into where the process is failing.

  • Debugging: Use logging in your Django app to log the OAuth process, especially the part where your app receives the callback from Shopify. This can help identify if the issue is with the URL formation or with handling the callback.

  • Manual URL Construction: As a workaround, you can manually construct the install URL by appending the necessary scopes to it. It's less elegant but can serve as a temporary solution and help to identify where the issue is.

Hope this helps,

 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ericluo
Shopify Partner
1 0 0

Hi, I get same problem, please help me!!

The installation link for this app is invalid

The link for installing gldapp1 cannot be used. Contact the app developer for more information.
Screenshot 2024-04-11 102925.jpg