When building a template, it will tell you what went wrong, but, due to the way errors bubble up in PowerShell, not where.