I'm using minio for S3 storage. So all files are save there. To show the file in odoo I'm getting it buffer from minio and encoded it into base64 then affect it to a binary field. For image, the preview was showing correctly but for pdf file , i'm get this error PDF.js v2.2.228 (identifiant de compilation : d7afb74a)
Message : Failed to fetch.