There’s No Page At This Address - Remix Template App

Solved

There’s No Page At This Address - Remix Template App

seunoyebode
Shopify Partner
11 0 0

Hello,
i need help

 

Fresh installs work well on my app but whenever a reinstall is attempted or better put attempting to install from the Partner's Dashboard.

 

I get a there's no page at this address error screen.

I built the app using the Remix App Template

 

 https://www.loom.com/share/1f89af5c60d0404caa55d76d3d01a24e?sid=30cbd062-17aa-4d62-b1e7-11d22ed9dcde

Accepted Solution (1)

anonymous111
Shopify Partner
1 1 2

This is an accepted solution.

Replies 17 (17)

SomeUsernameHe
Shopify Partner
515 57 109

The 404 makes me think this could be a URL update issue. If you are still in a dev enviorment then make sure you are running "npm run dev" when trying to install the app. If you are still working in "dev" do you have `automatically_update_urls_on_dev = true`? 

If yes, I would run "npm run dev --reset" and see if that helps. 

If you have the app deployed to a server then make sure your URLs are all updated. 

Also, I noticed you said you tried installing it from the partner dashboard but you were still in the Shopify Admin when you tried installing it. 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
seunoyebode
Shopify Partner
11 0 0

the app has been deployed to a server.

Shopify Review team actually sent the screencast. Normal App installation works just fine, so it doesn't seem like a URL update issue.

SomeUsernameHe
Shopify Partner
515 57 109

Could be a firewall issue? 404 means it was looking for a page and couldn't find it. Lemme try a few things and I will let you know. 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
SomeUsernameHe
Shopify Partner
515 57 109

Could you follow the same steps they performed in the screencast and check your server logs for any errors or connections? Any error would help tremendously here.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
seunoyebode
Shopify Partner
11 0 0

I reinstalled the app (the normal way), uninstalled it, and tried reinstalling it from the Partner's dashboard, but it won't install and no error in my logs

kom28
Shopify Partner
13 2 1

i have the same problem, just didnt pass the review because when i delete the app from my dev store and then reinstall didnt redirect to Oauth url. now i host it on heroku and make also a database there. My webhook deletes the session and data from the shop after i uninstall the app but redirect to a 404 error There's no page at this address

SomeUsernameHe
Shopify Partner
515 57 109

You have all of your URLs updated in your app and partner dashboard?

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
kom28
Shopify Partner
13 2 1

yes i have everything on my dashboard and on .env. i suppose i must write a code somewhere on my app to redirect if there is no session to redirect to oauth. but haven't found a solution yet.

this is the problem that i have https://screenshot.click/15-26-24340-77610.webm

SomeUsernameHe
Shopify Partner
515 57 109

Did you make any changes to shopify.server.js or entry.server.jsx?

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
kom28
Shopify Partner
13 2 1

i have made some changes on shopify.server.js like adding subscription plans. should i change something?

SomeUsernameHe
Shopify Partner
515 57 109

What's the normal way? How exactly did you install it? 

 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee

anonymous111
Shopify Partner
1 1 2

This is an accepted solution.

This is the cause of the error, try commenting unstable_newEmbeddedAuthStrategy again

https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-remix#enabling-this-new-str...

seunoyebode
Shopify Partner
11 0 0

Thank you so much.

This worked for me 

@kom28 try this ⬆️ 

kom28
Shopify Partner
13 2 1

thanks but nothing happened. i already had this on and made also a new app from scratch and still have the same problem

kom28
Shopify Partner
13 2 1

for god shake. just made unstable_newEmbeddedAuthStrategy to false and worked -_- all these days just this....

SomeUsernameHe
Shopify Partner
515 57 109

Lol Sorry man, that's one of those new things they like to surprise you with... Or at least for people like me who don't follow updates closely. 

 

Also, push config is no more. RIP.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
CarmineT
Shopify Partner
88 2 28

Commenting that line in shopify.server.js file also did finally enable to install my app into the development store.

Even the Partner support was not able to help me with this.

 

This seems a variable left there and not tested after some last release of Remix