Element Parameter not writing on Revit "Mark" parameter

I am trying to write on the “Mark” parameter a string like this: [CR-5].
Error: Transaction RolledBack and aborted.
The dash [-] symbol is not accepted if combined with letters and numbers. I tried:
“CR-5”: NO
“CR”: YES
“-”: YES
“5”: YES
Note: if the “Comments” parameter is used instead, everything works fine.

Very strange, I was unable to recreate the error.

Can you share the script?

I have also found that sometimes roll back errors happen when i have multiple revit files open in the same sessions of revit.