Dvc import from minIO

Hello everyone!
I try to track some data which already are on my s3 bucket (minIO). I’ve configured a dvc remote with endpoint and credentials but when I run import-url command I’ve the error below:
Bad Request: An error occurred (400) when calling the HeadObject operation
Anyone have idea to fix or the process to config dvc with minIO?
Thanks