WebApp Troubleshooting
This may also help troubleshoot issues with modules. Some frequently asked questions and a checklist of things to try when your webapp/module tag is not behaving as expected.
Check your Liquid tag parameters are valid
Invalid Liquid tag parameters can cause a GraphQL error behind the scenes. While we don't expose this error message to the page (so your users don't see it) the common symptom of this problem would be no available data in your layout, or the layout not rendering at all. To test for that, try outputting in your layout:
If nothing appears, you might have this problem. An example of a Liquid tag with invalid parameters is this one, can you spot the issue?
Answer: item_ids
is a valid parameter name, but not a valid parameter value for the parameter sort_type
. To *sort* by the item's id, the correct value would be sort_type: "id"
, since id is a core field shared by all webapps and modules. Other core fields include "created_at", "updated_at", "external_id". Most other fields e.g. expiry_date
, name
or custom fields are Siteglide fields and should be prefixed by properties
e.g. sort_type: "properties.name"
.
Last updated
Was this helpful?