Common Issues and Solutions

Common Issues and Solutions

This page lists known issues when using the AWS CLI (s3api and s3) with Akave O3 and provides tested workarounds or solutions.

Issue: Uploads fail due to checksum validation headers (AWS CLI v2.23.0+)

Error:

An error occurred (InvalidArgument) when calling the PutObject operation: Unsupported header ‘x-amz-sdk-checksum-algorithm’ received for this API call.

Cause:

In AWS CLI v2.23.0+ and v1.37.0+, aws s3 cp and aws s3api put-object automatically include checksum headers like x-amz-sdk-checksum-algorithm and x-amz-checksum-crc64nvme, even when not required.

This behavior breaks compatibility with third-party S3-compatible endpoints like Akave O3.

Workaround 1: Downgrade AWS CLI

Use a known working version such as:

  • AWS CLI v2.22.35 or older
  • AWS CLI v1.36.40 or older

Run:

aws --version

Workaround 2: Update config file

In ~/.aws/config, add the following under your O3 profile:

[profile o3]  
region = akave-network  
request_checksum_calculation = WHEN_REQUIRED  
response_checksum_validation = WHEN_REQUIRED

Then use the profile in your commands:

aws s3 cp ./file.txt s3://my-akave-bucket/ \
  --profile o3 \
  --endpoint-url https://o3-rc1.akave.xyz

Workaround 3: Explicitly specify a supported checksum (e.g., CRC32)

aws s3api put-object \
  --bucket my-akave-bucket \
  --key example.txt \
  --body ./example.txt \
  --checksum-algorithm CRC32 \
  --endpoint-url https://o3-rc1.akave.xyz

Why this matters:

Versions between 2.23.0 and 2.23.5 (and 1.37.0 in CLI v1) are not compatible with Akave or many third-party S3 APIs unless configuration is modified or CLI is updated.

Still having issues?

Try adding --debug to your command and refer to the Debugging S3 Requests section.

Last updated on