error trying to open pdf from db

Hi, im trying to open an pdf file stored as longblob on mysql with v2021 i get:
“{“statusCode”:0,“error”:{“class”:“text-danger”,“type”:“Error”,“description”:”/var/www/html/mywebstite/vendor/nyholm/psr7/src/MessageTrait.php(187): Header values must be RFC 7230 compatible strings.“}}”

on v2020 im able to open this pdf file.

How do you open the PDF?

clicking on the link should be opened/displayed by browser as new page. (on v2020 works)

on file upload settings i have
file name field: (column of the stored file as longblob)
resize width: 0
resize height: 0
allowed file types: pdf

Maybe is because i see url rewrite links enabled on v2021? Is possible to avoid “url rewrite” just to test if works?

URL Rewrite is a prerequisite in v2021, set up your web server first, read: https://discourse.hkvstore.com/t/migrating-to-v2022/655/1 see the last post by Webmaster.