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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

App Installation Fails After Updating the URL

Solved

App Installation Fails After Updating the URL

sveeen
Shopify Partner
2 1 0

I was ready to submit my app for the review process. There, I learned that the domain must not contain the keyword "shopify". We still wanted to include it, so we switched to "XYZ.com/shopify-test".

This means that some configurations needed updating. I am referring to the following locations - see the list. We are using the Shopify app template with remix and TS.

  • App settings > App setup
    • App URL
    • Allowed redirection URL(s)
  • Code
    • publicPath in remix.config.js
    • authPathPrefix in shopfify.server.ts

Nevertheless, the installation fails with the following error message: "The application cannot be loaded, it may be misconfigured. Please contact the application author.". The URL contains the parameter "oauth_error=application_cant_be_loaded_misconfigured".

 

Am I missing something?

What are the general requirements when updating the URL to a new one using a subdirectory?

 

Many thanks

Accepted Solution (1)

sveeen
Shopify Partner
2 1 0

This is an accepted solution.

I was informed by another Shopify dev that this just brings additional problems. We reverted to using a URL without subdirectory. I'd recommend the same.

View solution in original post

Reply 1 (1)

sveeen
Shopify Partner
2 1 0

This is an accepted solution.

I was informed by another Shopify dev that this just brings additional problems. We reverted to using a URL without subdirectory. I'd recommend the same.