For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hi!
We have app with theme blocks extensions. We have deep linking and sometimes we have issues:
"XYZ" not added. There is a problem with the app block. Contact the app developer.
Example on link:
https://example.myshopify.com/admin/themes/current/editor?template=product&addAppBlockId=UUID/HANDLE...
Sometimes I see notice:
But before it works correct - I saw product page screen with added block. Now I see notice and I'm on Home page screen.
What is the problem?
Hi Sebastian,
The URL structure for the deep link looks okay - so there must be something else going on here. How frequently are you seeing this issue occur?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
We saw it yesterday. Info from QA team:
And by the way, to reproduce this error, you need to install a new theme for the store. If you have already used a theme, this message will not appear.
Our app: https://apps.shopify.com/shipping-rates-on-product-page
A saw similar issue on Slack: https://shopifypartners.slack.com/archives/C4E5GV5U4/p1689040867500709
I am having the same issue. The deep link structure is correct (as far as I can tell) and it lands me on the product page in the editor, then redirects to the home page at the last second. Here is my deep link: https://example.myshopify.com/admin/themes/current/editor?template=product&addAppBlockId=[UUID]/[blo...
Hi Liam, is there a fix for this issue yet ?
@Liam please escalate this issue, I have had to remove the deep link from my app for now since it no longer works. It has been 10 days since your last reply. Please escalate this issue and let us know when it can be fixed. Thank you!!
This issue is still occurring for me...
Same thing here, we thought it's from our side. We did debug it and made sure every letter is correct. It redirects to product page then to to home page with a toast error : "XYZ" not added. There is a problem with the app block. Contact the app developer.
Has anyone found a fix for this yet its really getting frustrating
Seems like we have to wait for Shopify to fix it. There's nothing anyone else can do.
I'm surprised how this issue is still not solved yet. We need all to contact support so the appropriate team receive an alert.
Here we are 14 days after first report of this issue, and no response from the Shopify team past the initial "how frequently is this occurring?"
Please @Liam or any other Shopify team member give us some indication that this is being investigated!
Thank you!
Hi folks - we're looking into this and I'll update here when we have a fix ready.
Thanks for flagging and describing this issue.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thank you!!
Hi Liam, just checking in again. Any update? Thanks!
I wish I could say the same... Still doesn't work for me.
Wait a minute, actually I think it DID work!
Are there any steps to make it work on your part?
Still not working for me....
Hi...Is this fixed yet..Im seeing this with the judge app...only with the carroussel. I reinstalled the app and closed and opened Shopify. no change. thank you
Have anyone able to solve this yet?
I contacted the Partner Support with this issue.
On 28th of September they told me they were still looking into it and will get back to me once they find something...
They issue was still occurring for me when others in this thread already mentioned that it was fixed for them.
The partner support said that my deeplink looked perfectly fine (it was literally copied from the docs with the necessary changes).
I haven't tried in a few weeks though so i might give it another try later today.
As of today, the issue still occurs for me.
The deeplink (id was removed):
window.open(
'https://' +
myshopifyDomain +
'/admin/themes/current/editor?template=product&addAppBlockId=app-id-from-env-file/better-bullets&target=newAppsSection',
'_blank',
)
And this being the schema of my app block:
Thank you for your input @Prudentt 🙂
I simplified my schema and used your deeplink structure. Unfortunately without success.
Have you confirmed that your extension id is correct? I had a similar issue where I was using the extension id from the incorrect environment (prod for stage, etc) when I was testing.
That was actually an idea I had.
In my .env file i can only see one SHOPIFY_THEME_APP_EXTENSION_ID and I think that is my production ID.
Could you tell me how I would find my Development ID?
Because I do use two different Apps, one for Production and one for Development.
Appreciate your help!
It also occurs with our app. But it can not reproduce 100%, some shops work normally, some shops do not.
Just randomly occurred again yesterday (customer emailed me). And has been occurring here and there for some customers. So definitely not fixed yet.
@mikefortney could you maybe elaborate on how you find the SHOPIFY_THEME_APP_EXTENSION_ID of a development build?
Never mind, I found the solution and posted above. Thanks for all the input guys.
Thank you and sorry for all the questions.
I tried that ID and it did not work. I just took another look at the documentation and there it says to use the SHOPIFY_EXTENSION_NAME_ID.
That constant is nowhere to be found in my project, even after running the deploy command. Does anyone have an idea where that could be found?
I finally got it to work!
To retrieve the correct uuid for the deeplink do the following (from this post😞
Example (the relevant id is 00f4dfc0-0423-4d30-b597-21f3245b814e):
"28d695b7-72da-4c0e-973e-89e4a4d9658b": {
"type": "shopify:\/\/apps\/bloom-product-feature-bullets\/blocks\/better-bullets\/00f4dfc0-0423-4d30-b597-21f3245b814e",
"settings": {
"product": "{{product}}"
}
},
Well it turns out I just had a customer emailing me the same error message when trying to add my App to her Theme via Deeplink.
I am not able to replicate the Problem, not even when using the Theme she uses,
I will keep an eye on this.
@Liam can you please confirm whether this problem was ever fixed? This will help everyone in the above thread.
I had a customer contact me just yesterday about seeing this error... So it is definitely not fixed.
This issue arose three times this week so far with customers. This is super annoying. @Liam are there any news regarding this from Shopify's side?
I am experiencing this as well with Loox reviews app. @Liam is there any update please?
@Liam any updates?
I will remove deeplinks from my app for now and go back to a manual integration by the merchant.
I have had customers uninstalling my app naming as their reason that they don't have time for this kind of troubleshooting. And I am 100% with them. This is just stupid.
Hi folks - no update as yet, but our team are still looking into this issue. Will post an update here asap.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hello Liam,
I have been having this same problem with my deep link. However, I think I've finally found the cause, or related at least. It has to do with the default language setting of the store. When it the default is 'English', the deep link works without issues. However, when the default language is set to 'Japanese' for example, the deep link error happens every time. Is there any way you can pass this along so that there is finally some hope to get this fixed? Or some solution to this?
This is confirmed, I changed the language to English from Japanese and it worked.
I have a same problem.
I think I've found a potential cause of this issue. I've noticed when my default store language is English, my deep links work, when its something else, like Japanese, it shows the error. Not a solution, but a related cause at least. Maybe test your app and change the store language settings.
Any luck with this?
One of my apps also has this issue. Merchants are starting to complain.
Thanks
Deploying and publishing a new app version via the CLI solved the issue for me.
If you have this problem, try a fresh version deployment and see if it works.
I just released a new version from partner portal & it seems resolved. Thanks for your input
Not working For me.. I tried releasing new version from Shopify CLI, Releasing From Partner Portal, Changing Language from English Default to others and Back to English. Tried it with my app on Local Host and also from Cloud. Can you please explain how you were able to make it work?
Hi, I've been having this issue repeatedly and while using different browsers. I've found a solution that works for me, and reverting it takes me back to getting the error again, so I'm 100% sure this is what was causing it in my case. Not sure if this is what's causing the error for everyone else, but here I go:
I've been getting the problem while simultaneously being prompted by a pop-up banner saying that I needed to grant cookie permissions. Despite accepting such banner, the pop-up kept appearing over and over again with every page refresh. To fix this, I've changed my browser settings so that 3rd party cookies are allowed in this specific page, and that has automatically solved the problem (on both Chrome and Safari).
The deep link now works for me on Safari, Chrome, and Firefox.
Let me know if this solves your issue!
In my case, I found out my SHOPIFY_THEME_APP_EXTENSION_ID is wrong.
This is my python code