This error occurs when a definition is described with a name containing invalid characters.
Definition names must abide by the rules.
● It should start with alphabet or underscore.
● It can have alphabets, numbers, underscores, and spaces.
Example
[Field: @MyField]
Set as: "Tally Solutions"
In the above field definition, the name of the definition starts with @ symbol, which is an invalid character for a definition name. Hence the message error T0007: The description name contains invalid characters. appears.
To correct the code remove the symbol @ from the definition name
[Field: MyField]
Set as: "Tally Solutions"