Hi, I have an unlisted Shopify app and I have setup App Proxy with prefix as "tools" and subpath as "manage-account". I have supplied the full URL of the php file under Proxy URL.
When I click save, it says the proxy is ready for use.
But when I try https:// <myshop> .myshopify.com/tools/manage-account it gives takes me to the 404 not found page.
Any help will be really appreciated. Thanks.
Solved! Go to the solution
It is important for you to provide details. One thing that is missing from your explanation is your App routing. A callback can be GET or POST as just two of the possibilities. So if your App is set for a POST but you tested a GET, obviously you'll get a 404 response. Ensure you matched your route and your callback and it might just work for you.
@HunkyBillThanks for the quick response.
I'm trying to display a custom page where customers could edit there user account information.
My proxy URL is a regular .php file that is meant to display the desired HTML code. The liquid headers are being send at the start of the code and I'm trying a simple GET request. I have done the same with similar code on other of my apps and they work just fine.
One more thing to point out is that I had set this proxy up some time ago and the path has changed since then. When I updated the path and tried the new path, it has stopped working. Is it possible that Shopify App police has identified a faulty proxy URL and blacklisted it?
Should I contact Shopify support? PLMK.
There was a bug that was pretty annoying for quite some time. If you changed the Proxy URL, Shopify would not update it internally. It keeps the original URL. The only way around that was to delete the Proxy and re-instantiate it with the new URL. After that things worked again.
I still struggle with the Proxy myself. It never just works and I have printed out many working patterns over the years! Once I get it going though, it is always valuable!