You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever i try to put an object with non ascii metadata value I get minio.error.SignatureDoesNotMatch
Traceback (most recent call last):
File "testio.py", line 18, in <module>
minioClient.put_object("test","test.txt",BytesIO(data),len(data),metadata={"test":"testà"})
File "/tmp/venv/lib/python3.7/site-packages/minio/api.py", line 838, in put_object
progress=progress)
File "/tmp/venv/lib/python3.7/site-packages/minio/api.py", line 1551, in _do_put_object
content_sha256=sha256_hex
File "/tmp/venv/lib/python3.7/site-packages/minio/api.py", line 1901, in _url_open
object_name).get_exception()
minio.error.SignatureDoesNotMatch: SignatureDoesNotMatch: message: The request signature we calculated does not match the signature you provided.
This works:
with open('test.txt','rb') as f:
data=f.read()
minioClient.put_object("test","test.txt",BytesIO(data),len(data),metadata={"test":"test"})
This doesn't:
with open('test.txt','rb') as f:
data=f.read()
minioClient.put_object("test","test.txt",BytesIO(data),len(data),metadata={"test":"testà"})
The text was updated successfully, but these errors were encountered:
Whenever i try to put an object with non ascii metadata value I get minio.error.SignatureDoesNotMatch
This works:
This doesn't:
The text was updated successfully, but these errors were encountered: