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
질문됨 2년 전217회 조회
1개 답변
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
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠