Repository navigation
Shopify section says Invalid schema? Check JSON and setting defaults #53
vistabylara-dev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
أخطاء schema قد تأتي من JSON غير صالح أو إعداد افتراضي لا يطابق حدود الحقل.
Free Shopify code series · 50/50 · Reviewed 24 October 2026
The problem
A section schema must be valid JSON, and setting defaults must match the setting rules. This complete small section shows a range whose default lies within its minimum, maximum and step.
Placement and precautions
Duplicate the theme and work in its unpublished preview. Save the original files and change one component at a time.
Create sections/vbl-spacing-demo.liquid in a duplicate theme with this complete example. Add it through the theme editor and enter your own rich text. When repairing another section, fix the reported field instead of overwriting that section with this demo. If the file already has a stylesheet tag, merge these CSS rules into that existing tag rather than adding a second one.
Complete example section:
Check in preview
Save the file, add the section, move the slider to minimum, default and maximum, save and reload preview. Check text and spacing on mobile. For an existing error, inspect missing commas, trailing commas, repeated setting IDs and mismatched defaults.
Limits to understand
Keep one schema tag per section outside other Liquid tags. This example has English editor labels; localize editor labels for a distributed multilingual theme. It does not migrate existing settings or recover an overwritten template.
Validation: This code passed Shopify's validation tool. This is static validation, not proof of rendering, accessibility, theme compatibility, indexing or improved sales. No live merchant store was changed or purchase performed.
Rollback
Restore the saved markup and styles if anything regresses. Remove any new calls before deleting their referenced files. Remove only unused locale keys introduced for this example. Keep the previous working theme available until the full affected journey has been checked.
Need this fixed in your store?
Send Dr Lara your store URL, theme name, affected page and what changed before the issue started. Start with free guidance and a free initial consultation. If you want implementation, we agree the scope and fee separately before work starts.
Explore Shopify repairs and development with Vista by Lara
WhatsApp Dr Lara about guide 50 or call +971 50 799 4292.
Free guidance. No commitment. Practical implementation is separately scoped.
Join the discussion
What result do you see, and what should happen instead? Share a short sanitized example. Remove passwords, tokens, customer details and private admin URLs.
Official references
Dr Lara · Vista by Lara · Dubai, UAE
All reactions