minio / minio-py

MinIO Client SDK for Python
https://docs.min.io/docs/python-client-quickstart-guide.html
Apache License 2.0
822 stars 318 forks source link

minio.error.S3Error: S3 operation failed; code: AccessDenied #1398

Closed kerwincwc closed 7 months ago

kerwincwc commented 7 months ago

image

I am new with minio. I am using the python SDK, but I am getting an error when trying to start up my flask app. This is the error I am getting. I am trying to use a domain to access bucket. When I am using my local IP address (127.0.0.1:9000), I am able to get my app running, but when I switch to the domain name I then get this error. Can anyone help me with this?

minio.error.S3Error: S3 operation failed; code: AccessDenied, message: Access Denied., resource: /templatebucket, request_id: 17B167A27DD1D7D8, host_id: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8, bucket_name: templatebucket

balamurugana commented 7 months ago

Looks like you have MinIO server setup issue. Please refer server documentation.