Re: There is a problem with the app block. Contact the app developer.

There is a problem with the app block. Contact the app developer.

sebastiandev
Shopify Partner
69 1 22

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:

sebastiandev_0-1688978145704.png

 

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?

 

Replies 49 (49)

Liam
Community Manager
3108 341 879

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

sebastiandev
Shopify Partner
69 1 22

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 

mikefortney
Shopify Partner
16 0 10

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...

Paaber
Shopify Partner
5 0 4

Hi Liam, is there a fix for this issue yet ?

mikefortney
Shopify Partner
16 0 10

@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!!

felixmpaulus
Shopify Partner
55 0 19

This issue is still occurring for me...

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.

SteveRlz
Shopify Partner
5 0 6

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.

Paaber
Shopify Partner
5 0 4

Has anyone found a fix for this  yet its really getting frustrating 

mikefortney
Shopify Partner
16 0 10

Seems like we have to wait for Shopify to fix it. There's nothing anyone else can do.

SteveRlz
Shopify Partner
5 0 6

I'm surprised how this issue is still not solved yet. We need all to contact support so the appropriate team receive an alert.

 

dirceu-jr
Shopify Partner
1 0 2

@Liam Hi, I've also noted this problem in my app extension deep link. 

mikefortney
Shopify Partner
16 0 10

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!

Liam
Community Manager
3108 341 879

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

mikefortney
Shopify Partner
16 0 10

Thank you!!

mikefortney
Shopify Partner
16 0 10

Hi Liam, just checking in again. Any update? Thanks!

mikefortney
Shopify Partner
16 0 10

I wish I could say the same... Still doesn't work for me.

mikefortney
Shopify Partner
16 0 10

Wait a minute, actually I think it DID work!

an_autoserve
Shopify Partner
17 0 1

Are there any steps to make it work on your part?

felixmpaulus
Shopify Partner
55 0 19

Still not working for me....

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
Emanuelwiemans
New Member
10 0 0

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 youScherm­afbeelding 2023-11-21 om 20.39.48.png

an_autoserve
Shopify Partner
17 0 1

Have anyone able to solve this yet?

felixmpaulus
Shopify Partner
55 0 19

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...

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
felixmpaulus
Shopify Partner
55 0 19

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.

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.

felixmpaulus
Shopify Partner
55 0 19

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',
)

 

 
With this being the folder structure of the extension:
Screenshot 2023-10-13 at 12.26.14.png

And this being the schema of my app block:

Screenshot 2023-10-13 at 12.29.10.png

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
felixmpaulus
Shopify Partner
55 0 19

Thank you for your input @Prudentt 🙂

I simplified my schema and used your deeplink structure. Unfortunately without success.

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
mikefortney
Shopify Partner
16 0 10

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.

felixmpaulus
Shopify Partner
55 0 19

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!

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
RH-Kart
Shopify Partner
1 0 1

It also occurs with our app. But it can not reproduce 100%, some shops work normally, some shops do not.

felixmpaulus
Shopify Partner
55 0 19

Just randomly occurred again yesterday (customer emailed me). And has been occurring here and there for some customers. So definitely not fixed yet.

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
felixmpaulus
Shopify Partner
55 0 19

@mikefortney could you maybe elaborate on how you find the SHOPIFY_THEME_APP_EXTENSION_ID of a development build?

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
felixmpaulus
Shopify Partner
55 0 19

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?

 

Screenshot 2023-10-17 at 13.23.59.png

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.

felixmpaulus
Shopify Partner
55 0 19

I finally got it to work!

 

To retrieve the correct uuid for the deeplink do the following (from this post😞

  1. Add your theme app extension to any store via the theme editor
  2. Go to the code editor of the theme's code (right click -> edit code)
  3. open the template file of the template to wich you added the App Block (for me it was the product page, so I had to open templates/product.json)
  4. look for the place where your app block is specified (see below for example)
  5. use the id at the end of the app blocks URL for your deeplink

 

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}}"
    }
},

 

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
felixmpaulus
Shopify Partner
55 0 19

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. 

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.

AlexHooper
Shopify Partner
22 0 15

@Liam can you please confirm whether this problem was ever fixed? This will help everyone in the above thread.

AH
felixmpaulus
Shopify Partner
55 0 19

I had a customer contact me just yesterday about seeing this error... So it is definitely not fixed. 

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.

felixmpaulus
Shopify Partner
55 0 19

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?

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
SS12345
Visitor
1 0 0

I am experiencing this as well with Loox reviews app. @Liam is there any update please?

felixmpaulus
Shopify Partner
55 0 19

@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.

 

Add bullet points to your productpage with Bloom: Product Feature Bullets
Increase branding and conversion. Set your store apart.
❤️ Free Plan available. Exclusively 5-star reviews.
Liam
Community Manager
3108 341 879

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

egk
Shopify Partner
9 0 8

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?

 

egk_0-1708593375120.png

 

app_block_error.png

paulorivera27
Shopify Partner
1 0 0

This is confirmed, I changed the language to English from Japanese and it worked.

MaksimCPB
Shopify Partner
4 0 0

I have a same problem. 

egk
Shopify Partner
9 0 8

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.

Mircea_Piturca
Shopify Partner
1548 44 347

Any luck with this?

One of my apps also has this issue. Merchants are starting to complain.

Thanks

Finally—Add variant descriptions to your products
Mircea_Piturca
Shopify Partner
1548 44 347

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. 

Finally—Add variant descriptions to your products
abdulawal39
Shopify Partner
1 0 0

I just released a new version from partner portal & it seems resolved. Thanks for your input

Junaid_Khan
Shopify Partner
1 0 0

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?

joan1
Shopify Partner
1 0 0

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).

  • To allow them on Chrome: Settings>Privacy and Security>Third-party cookies --> and then, under "Sites allowed to use third-party cookies", add "[*.]admin.shopify.com"
  • To allow them on Safari: Settings>Privacy --> Un-toggle "Prevent cross-site tracking" & Settings>Advanced --> Un-toggle "Block all cookies"

The deep link now works for me on Safari, Chrome, and Firefox.

Let me know if this solves your issue!

 

joan1_0-1726933106737.png

 

importunate
Shopify Partner
1 0 0

In my case, I found out my SHOPIFY_THEME_APP_EXTENSION_ID is wrong.

 

This is my python code

base_url = f"https://{myshopify_domain}/admin/themes/current/editor"
params = {
"addAppBlockId": f"{SHOPIFY_THEME_APP_EXTENSION_ID}/star_rating",
"target": "newAppsSection",
}
 
query_string = urlencode(params)
deep_link_url = f"{base_url}?{query_string}"

return {"result": True, "detail": deep_link_url}

Check your app block id.
1. Go to Theme editor
2. Add by Yourself what you want. and save.
3. Go to the code editor of the theme's code
4. Find what you add in template. (In my case, index.json)
5. There is a ID in the end of type.
for example,
"type": "shopify:\/\/apps\/{YOUR_APP_NAME}\/blocks\/star_rating\/{123564-asfb-dfsgbs-124124242}"
 
"123564-asfb-dfsgbs-124124242" must be same with SHOPIFY_THEME_APP_EXTENSION_ID