Skip to main content

Troubleshooting

1. How to troubleshoot the error that occurs when activating the OSS service?

Contact the Conversant expert team to activate the OSS service.

2. How to troubleshoot CORS errors?

Cross-Origin Resource Sharing (CORS) is an HTTP-based mechanism that enables controlled access to resources from external origins. Misconfigured CORS rules may cause browsers to block access to OSS resources.

When the CORS error appears, troubleshoot the problem by:

  • Verify that the CORS rules are correctly configured for the target bucket.
  • Use the AWS SDK PutBucketCors API to apply the appropriate rules.

3. How to troubleshoot the XAmzContentSHA256Mismatch error during object upload?

The XAmzContentSHA256Mismatch error indicates a mismatch in checksum validation between the client and server during the object upload process.

When the error occurs, troubleshoot the problem by:

  • Configure the following environment variable to restrict checksum calculation:

    AWS_REQUEST_CHECKSUM_CALCULATION=when_required
  • This ensures that the SDK performs checksum calculation only when required by the server.