You may encounter this error when working with sloped glazing or a curtain wall.
Error: Cannot divide curtain grid by grid line.
Issue: You placed a curtain grid on a sloped glazing, such that the curtain grid division results in a complex piece of geometry that Revit cannot produce.
Solution: There is no work-around. You must cancel the action.