Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Invalid Schema errors

Solved

Invalid Schema errors

huon
Visitor
1 0 2

Hi,

 

I'm trying to test the new section paradigm. When I do the following:

 

1. Edit the "Dev Preview" theme that comes with a Unite 2019 dev store

2. Add a file in the "Content" folder called "slideshow.liquid"

3. Copy one of the examples on this page into the file

4. Save

 

When I do this, I get:

  • Error: Schema is invalid

image.png

 

I get the same error message when saving "config/frame.json" with the example from this page (using Theme Kit).

 

Am I missing something?

Accepted Solution (1)

Liam
Community Manager
3108 344 899

This is an accepted solution.

Hi there Huon,

 

We have updated the code example on the content sections page, as it was missing the "options" field within the settings schema. Both examples will now save correctly when you follow the process you outlined. 

 

Hope this helps- let us know if there is anything else I can help with 🙂

 

Liam Griffin

Shopify | Developer Tools & Education

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

View solution in original post

Reply 1 (1)

Liam
Community Manager
3108 344 899

This is an accepted solution.

Hi there Huon,

 

We have updated the code example on the content sections page, as it was missing the "options" field within the settings schema. Both examples will now save correctly when you follow the process you outlined. 

 

Hope this helps- let us know if there is anything else I can help with 🙂

 

Liam Griffin

Shopify | Developer Tools & Education

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