S3 CompleteMultipartUpload requires MultipartUpload listing #2869
Labels
documentation
This is a problem with documentation.
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the issue
It took me a while to find out why my CompleteMultipartUpload is returning HTTP 400
It was because I did not list uploaded parts in the input structure under MultipartUpload
Input structures are well documented in code comments and I have come to rely on the word 'required' to decide which are the minimum input fields I have to specify
MultipartUpload does not say 'required' in the comment and would be good if it did in case it actually is a required field (as it appears to be)
Links
https://github.com/aws/aws-sdk-go-v2/blob/4f3eab1b0a3a631a4455eb7a9964c98cf0cb5536/service/s3/api_op_CompleteMultipartUpload.go#L156C19-L156C49
AWS Go SDK V2 Module Versions Used
No response
The text was updated successfully, but these errors were encountered: