I'm using FAQ schema in a collection list template, so dynamic tags for the Question and Answer. On pages without FAQ my page still contains the schema script but without any content. It's therefore showing as an error rather than acting in a spammy way - it's not showing anything that's not on the page as the tags are empty. On other pages the tags pull through Q&A where I've entered the information.
Is it fine to leave the empty script on those page without FAQ, or should I create an exclusion for those empty pages to prevent it from being created in the first place?
Some of the questions are auto-filled by our customers but sometimes they are empty and not yet prepopulated.