'll have situations where you edited the PartsListbut not defined a style or rules for Part Size, style or deleted.
these cases the error appears when using the commands:
Go getting an error like this:
Set the missing style and call the command again.
Check in Parts List:
Set missing styles