Cannot overwrite files with existing keys in storageGRID bucket with Error 400 AccessDenied
Applies to
StorageGRID
Issue
Cannot overwrite files with existing keys in storageGRID buckets with Error 400 AccessDenied:
Error from AWS Cli:
Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 1714539184744515; S3 Extended Request ID: null; Proxy: null)
Error from Application side:
ERROR ~ Failed to publish file: <Source file path>; to: s3://<Destination file path> [copy] -- See log file for details
An error occurred (InvalidAccessKeyId) when calling the ListObjectsV2 operation: The AWS Access Key Id you provided does not exist in our records.
..
upload failed: <Source file path> to s3://<Destination file path> An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records
Error from StorageGRID
bycast.log
Logs:|12797708 1115439191 S3RQ %CEA 2024-06-12T03:17:30.152128| NOTICE 0140 f1ca9b50448cef02 S3RQ: S3 error response: RequestId=1718162250079787, TraceId=f1ca9b50448cef02, Resource=/?prefix=<<span style="background-color: transparent;"><File path> >=, HTTP Method=GET, HTTP Status Code=403, X-Forwarded-For: '<>', ErrorMsg=AccessDenied, ErrorType=ClientAuthorization, CustomErrorMessage={Access Denied}, Details={None}