-This error can happen when trying to “edit template” in template builder from Document Action.

How to resolve:
Check theĀ fields security and make sure they were not removed. Once they are back in, you should be able to continue using the app.