-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's no page at this address #602
Comments
Hey @SerhiDi, if you've created your app using the CLI, it keeps track of which shops have installed your app (see When the app first completes OAuth, it will subscribe to the It's likely that you're getting this error because something went wrong when handling the webhook. Could you please confirm that your server is properly receiving the webhook, and that the shop is being marked as inactive when you uninstall it? |
@paulomarg, thanks for the reply. |
Install app - |
After you call It's also worth pointing out that it may take a few seconds for the webhook to be triggered. |
|
I have the same issue and my app was rejected due to this problem :( any solutions please? I feel like webhook is not even triggered |
Hey folks, I raised this to the webhooks team, and Shopify is firing the If you're not able to log the calls, that could mean that something is blocking the requests before they reach your app. We can see if the requests are actually reaching your side of things if we run ngrok manually, by doing:
You should be able to see requests being made to Note: While writing point 4 above, something came to mind: whenever you reload your server, the |
Hello @paulomarg, thanks for your reply. After deployment to hosting, after adding the app link to the app setting on Shopify Partners Dashboard I'm starting to see this error. |
You can try |
Also, I see different behavior depending on the installation method:
If I use the installation link https://myapp.com/auth/shopify?shop=myshop.myshopify.com But if I do delete/install very quickly I see the same error. If I do that with some intervals, few seconds, all fine. How it's working? It's very strange implicit Shopify logic. |
Sorry, I missed the part where this was happening after deploying. The scenario where you delete / reinstall quickly is most likely failing because the webhook wasn't called before you reinstalled the app - as I mentioned it can take a little time for the webhook to actually reach your app, as Shopify needs to process the event and fire the request. The other scenario, where it fails for a few hours, sounds like a case where the webhook handling is failing in your app, and Shopify is retrying it. You can read more about that in our documentation on webhooks. Shopify will retry failed webhook calls once every roughly 2h to see if they go through. |
Ok, why webhook not working in the base NodeJS app, after deploying? How I can prevent this? Which code missed in the current version of |
@paulomarg In the tutorial, it's a specified API version, but in my code, I can't do that because Typescript warning, so I don't add that property and register still successfully, Do it affect? I saw My code: Warning Typescript: |
@Sanj718 hello, |
@SerhiDi hello, the problem is that your shop is not beeing deleted from active_shopify_shops object. If you restart your server in heroku installation will work again since active shops object will be empty. So, can you try to console log something befores Shopify.Webhooks....Process? And see if webhook is beeing triggered via heroku logs? It should trigger after 5 seconds you have deleted the app. If yes you shoul be able to find shop name in incoming request as i did. |
@Sanj718, thank you.
After app deletion, I see this log: I tried to reinstall the app a few times, all working now. I will try to send my app to review again. @paulomarg, can you check this code example? |
@paulomarg As I understand if the server restarts all information about webhooks will be deleted. What if the server goes into maintenance or restarts for other reasons? |
|
Same issue here, @Sanj718 solution worked for me thank you! |
Hello there |
Whats the resolution for this this issue where reinstalling apps under development fails with "no page at this address"? |
@Sanj718 i have tried your code as well but my issue is not resolved |
With my node app i do not receive webhook on the uninstalling of shop |
hi there, I was trying to activate the paypal in shopify from the payments section but it gives me this:Check the URL and try again, or use the search bar to find what you need. |
I see the issue come from, when you uninstalled the app webhook not remove session from database and the issue come from. |
@Sanj718 i have app in express js i am getting the same Error can answer on it |
After reInstall app, I see this message
There's no page at this address
Check the URL and try again, or use the search bar to find what you need
All ok locally, with ngrok tunnel.
Steps to reproduce the problem
Install app to Development store
I tried submitting this app. And QA engineer wrote:
Your app hasn't implemented authentication through OAuth correctly and can't be reinstalled. Review our
OAuth documentation.Node app use
koa-shopify-auth
- as I see the app have AccessToken, Oauth working.What means
hasn't implemented OAuth correctly
?I think Shopify doesn't delete some app data from shop on app deletion.
The text was updated successfully, but these errors were encountered: