Getting error when adding Minio Object storage to nextcloud

I started Minio Object storage locally, and it got successfully added as well:

but when I tried to access files I am getting error:

This directory is unavailable, please check the logs or contact the administrator

then I checked nextcloud.log and I spotted this but I dont understand what is going wrong here.

{"reqId":"YRbcB8c@IGiMqgOwAD3BWgAAAAs","level":2,"time":"2021-08-13T20:54:32+00:00","remoteAddr":"192.168.1.32","user":"skumar","app":"filesystem","method":"POS T","url":"/nextcloud/apps/text/session/sync","message":"Storage wrapper 'sharepermissions' was not registered via the 'OC_Filesystem - preSetup' hook which coul d cause potential problems.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"," version":"21.0.3.1"}