When I tried to use sdk to complete the data migration of s3, I encountered a strange error, but the data has been migrated

0

I migrated data from HUAWEI CLOUD to the s3 data bucket, but the job status is failed. I checked the s3 bucket and the data files have been migratedEnter image description here

Yang
asked 2 years ago212 views
1 Answer
0

Hello,

It appears that you encountered an error while using the SDK for data migration to S3. The error message indicates a bad request (HTTP 400) [1], which is likely caused by an incorrect upload configuration on your side (client). S3 responds with this error when there is a problem with the upload. Since S3 tracks all the requests, you can identify which file caused the error during the upload process.

In your case, you mentioned that despite the error, all the files were uploaded. This may be due to the SDK's retry mechanism in your code, which automatically retries failed API requests when communicating with the server. For more information about the SDK's retry behavior, please see document for more information [2].

As for the failed job status you mentioned, if it is related to the error message you provided, the solution mentioned above should help. However, if you are referring to a different job status, please provide more details so that I can assist you further.

Thank you for providing the references: [1] Error responses https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html [2] SDK Retry behavior https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html

AWS
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions