V12.2.0: New DocType (TypeError: unsupported operand type(s) for +: 'type' and 'str)

I am creating a new doctype and I encounter the below error when I am trying to save. I did not use ‘+’ operations at all.

To help troubleshoot this, please copy and paste the full traceback here too!

Your Server Error snapshot lists just the last line of the traceback, and most often that is insufficient to pinpoint the problem.

The general rule of thumb request is the traceback - also called a stacktrace - points to what happened internally in the code.

The same applies here V12.2.0: Script Report Import Error: __import_not found

It could be something from one of the custom fields in that new doctype. Try to see if you have any special characters in the new Labels or Name columns.