I just created a test admin link on a product page and now product page on my store gives 500 error. It is very concerning to create this for my production app as I afraid customers will have the same problem on live stores.
We’re experiencing a similar issue when trying to transition from the old Partner Dashboard links to the new ones defined in the .toml file. No matter which approach we use, all links consistently return a 500 error.
For example, this request failed with a 500 error: Request ID: c740d594-7220-4235-97ca-2c7bb7242329-1738341198
We are using the standard configurations provided by Shopify during import. We’ve tried different URL formats like "/products/0", "app://products/0", and even the full URL, but nothing works.
Here’s our .toml config:
[[extensions]]
type = "admin_link"
name = "Test link"
handle = "test-product-link"
[[extensions.targeting]]
url = "/products/0"
target = "admin.product-details.action.link"
It is Edge case where would be great if Shopify could provide a warning but basically if you write URL correctly problem should be fixed.
Another thing that may caused this issue. I was running shopify app dev command in the other tab while this issue happened. Make sure you stop shopify app dev command before making deployment.