5.0.3 RT Install on Ubuntu 20.04.5 LTS RT-Server Start Issue

Hi. I setup RT 5.0.3 and have problems with incoming e-mail parsing for some of emails.
There is my post: Ticket create error DBD::Pg::st execute failed: ERROR: invalid input

That can be related to what you mention about broken functions in 5.0.3?