Theme app extension (limit reached)

I have one Theme App Extension in my Shopify app. I’m trying to create another one, but Shopify doesn’t generate it and shows the following error:

“Theme app extension (limit reached)”

Has anyone encountered this issue before? Is there a way to increase the limit or work around it? Any help would be appreciated.

Hey @Ahsan-ah-med ,
You cannot create 2nd theme app extension in shopify hard platform limit. So the only correct fix is to merge everything in one extension

Keep one extension only
extensions/
theme-app-extension/

Add multiple features inside same extension

{% case block.type %}
{% when ‘feature_a’ %}

{% when ‘feature_b’ %}

{% when ‘feature_c’ %}

{% endcase %

}

Schema multiple blocks in same extension
{
“blocks”: [
{
“type”: “feature_a”,
“name”: “Feature A”
},
{
“type”: “feature_b”,
“name”: “Feature B”
}
]
}
I hope this help you
Thank You !

Thanks. I added a new block file to the existing Theme App Extension and included the schema, but the app block doesn’t appear in the Theme Editor. What else do I need to do to make it show up?

<div>Hello</div>

{% schema %}
{
  "name": "Bundle",
  "target": "section",
  "settings": []
}
{% endschema %}


Hey, @Ahsan-ah-med
I hope this message finds you well.
This is a Shopify limitation. Each app can have limited number of Theme App extension. If you’ve reached the limit , you’ll either need to add new blocks to the existing extension or remove an unused extension before creating another one.