Is the error seen when trying to apply the configuration? Check that the device replacement variables are correctly entered for all replacement variables that do not have a default.
There is also a known issue where templates with replacement variables cannot be applied at the device level. This is being tracked in issue CNSSNG-4319. The issue only appears at the device level.
As work around for that issue is to navigate to a higher level in the left-hand tree (tower, network, system) and create the job from there.