Admin Link extension broken on "dev" store

The admin link extension is working fine on all non-dev stores so this bug is probably not being reported - and it’s probably also very new - we first noticed last week.

Extension is using this:

[[extensions.targeting]]
url = “app://choose/products”
target = “admin.product-details.action.link”

When you click on it from dev store, the redirect url address in the address bar looks like this which is correct:

https://admin.shopify.com/store/xxx/apps/xxx/choose/products?id=8839442169908&shop=xxx.myshopify.com

However the request is incorrect and does not match (found in the network tab):

https://xxx.com/choose?embedded=1&hmac=a5e3d3116897fc22ecde73b907616c4380c8a7400aed0cf4d1d855ee40e060dc&host=YWRtaW4uc2hvcGlmeS5jb20vc3RvcmUvbGVpc3VyZS0zOA&id=8839442169908&id_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczpcL1wvbGVpc3VyZS0zOC5teXNob3BpZnkuY29tXC9hZG1pbiIsImRlc3QiOiJodHRwczpcL1wvbGVpc3VyZS0zOC5teXNob3BpZnkuY29tIiwiYXVkIjoiZjRhMmE5ZDIyMzdkNmY5YjI4OWU5ZTQyN2Y2ZTNkODIiLCJzdWIiOiIzMjgxOTY1IiwiZXhwIjoxNzgxNTExNDg3LCJuYmYiOjE3ODE1MTE0MjcsImlhdCI6MTc4MTUxMTQyNywianRpIjoiNTA3YmY2MmQtNTQxNC00Y2NhLWIwN2QtNGMzZWJkNzE4MmYwIiwic2lkIjoiYWVkNWI1ZDAtYTQ3NS00NjBlLWJmMmEtZGEzNWQ0MjkwNTg0Iiwic2lnIjoiYWI5YjdkMjcwZWVhNzQ1NTNmMTMwNDMwMWJhNzFlYzNiNjhiMTUxOTZmYzBhMjI2ZDRhOTQ0NWNiNzViOTI2MCJ9.X6OCUz6to_1tCyjsMJbjpzswt4rPaN7kz0UIMNzBaso&locale=en&session=8d4a4b1d01e887025c65f1ae9d98ee767b272591a0094ea61355ace401e4159f&shop=xxx.myshopify.com&timestamp=1781511427

This leads to a 404 not found since this request isn’t supported on that endpoint (its lacking /products and the ID data).

So there is some sort of mismatch between the desired request url and the actual request url. Something related to “dev” stores only.

Let me investigating…

This is fixed on production. Let me know if you still see it.

Wow you fixed it. This is the first time I’ve had a bug fixed live without having to spam for weeks. Looking good Henry! Cheers