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

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