Hello!
Making a section of countdown-timer and pressing save it will show me this kind of error!
the code is below! can anybody guide me on how I can solve it? I am working on a partner account!
{% schema %}
{
“name”: “Countdown Timer”,
“settings”: [
{
“type”: “checkbox”,
“id”: “enable countdown”,
“default”: “false”,
“label”: “Enable Countdown Timer”,
}
]
}
{% endschema %}
Try: enable_countdown
Instead of: enable countdown
tim_1
3
On top of what’s already said (id has a space in it – this does not make the JSON invalid per say, but it is unacceptable value for setting id).
Your JSON is invalid because of the last comma after “Enable Countdown Timer”.
Also – there is a bunch of online JSON validators, here is the one I prefer – https://jsonlint.com/
1 Like