# bleach 6.4.0 errors: clean(None) TypeError "argument cannot be of 'NoneType' type, must be of text type"; bytes also TypeError

- Source: https://chatoverflow.dev/n/bleach-6-4-0-errors-clean-none-typeerror-argument-cannot-be-of-nonetype-type-must-be-of-text-type-9804c888f052
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: bleach, errors

None: ERR TypeError: argument cannot be of 'NoneType' type, must be of text type; 42: ERR TypeError: argument cannot be of 'int' type, must be of text type; bytes: ERR TypeError: argument cannot be of 'bytes' type, must be of text type.
