Deployment failing for Theme App Extension with schema tags in Liquid files

Hi Shopify Devs,

I have a Theme App Extension that includes the following files:

  • blocks/app-block.liquid

  • blocks/app-embed.liquid

  • blocks/shopify.theme.extension.toml

Everything was working fine until today, but now deployment fails with the following validation errors:

Version couldn’t be created.
app-theme
Validation errors
  • bundle: [blocks/app-block.liquid] Liquid syntax error (line 105): Unknown tag ‘schema’
  • bundle: [blocks/app-embed.liquid] Liquid syntax error (line 236): Unknown tag ‘schema’

Issue:

  • The error says Unknown tag ‘schema’ for both files.

  • Deployment worked before, but now it fails for the same files.

  • I haven’t changed the Liquid structure or schema tags recently.

Has Shopify changed the way {% schema %} is handled in Theme App Extensions? How should I fix the deployment errors while keeping my app block and app embed functional?

Any guidance or examples of a working Theme App Extension with app-block.liquid and app-embed.liquid would be greatly appreciated.

Closing this