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
Since the release 1.36 of boto3, we are not able to use s3proxy for at least the put_object and delete_objects API calls.
In the examples below, the version 1.36.3 of boto3 was used.
The errors are:
put_object:
File "/opt/src/tests/unit/storage/conftest.py", line 218, in object_storage_dir
client.put_object(Bucket=bucket, Key=f'resources/{name}/file.txt', Body=b'Test content')
File "/opt/venv/lib/python3.11/site-packages/botocore/client.py", line 569, in _api_call
return self._make_api_call(operation_name, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/botocore/client.py", line 1023, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (NotImplemented) when calling the PutObject operation:
A header you provided implies functionality that is not implemented.
delete_objects:
File "/opt/src/tests/unit/storage/conftest.py", line 266, in _delete_files
client.delete_objects(Bucket=bucket, Delete={'Objects': [{'Key': key1}, {'Key': key2}], 'Quiet': True})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/botocore/client.py", line 569, in _api_call
return self._make_api_call(operation_name, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/botocore/client.py", line 1023, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (NotImplemented) when calling the DeleteObjects operation:
A header you provided implies functionality that is not implemented.
Hello,
Since the release 1.36 of boto3, we are not able to use s3proxy for at least the
put_object
anddelete_objects
API calls.In the examples below, the version 1.36.3 of boto3 was used.
The errors are:
put_object
:delete_objects
:The client was defined as follows:
From what I have found, the problem is caused by this change:
boto/boto3#4392
Regards
The text was updated successfully, but these errors were encountered: