Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GC: An error occurred (MissingContentMD5) when calling the DeleteObjects operation: Missing required header for this request: Content-Md5. #269

Closed
psrok1 opened this issue Jan 22, 2025 · 0 comments · Fixed by #270
Labels
bug Something isn't working

Comments

@psrok1
Copy link
Member

psrok1 commented Jan 22, 2025

[2025-01-22 13:41:29,060][ERROR] GC: Exception during garbage collection
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/karton/system/system.py", line 213, in gc_collect
    self.gc_collect_resources()
  File "/usr/local/lib/python3.11/site-packages/karton/system/system.py", line 91, in gc_collect_resources
    self.backend.remove_objects(karton_bucket, resources_to_remove)
  File "/usr/local/lib/python3.11/site-packages/karton/core/backend.py", line 1006, in remove_objects
    self.s3.delete_objects(Bucket=bucket, Delete={"Objects": delete_objects})
  File "/usr/local/lib/python3.11/site-packages/botocore/client.py", line 569, in _api_call
    return self._make_api_call(operation_name, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/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 (MissingContentMD5) when calling the DeleteObjects operation: Missing required header for this request: Content-Md5.

Seems related with boto/botocore#2308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant