By jmw
We are using Alpakka S3 in our backend to copy a file from one Space to another Space. Unfortunately we get the following error:
[error] (run-main-0) akka.stream.alpakka.s3.S3Exception: (Status code: 400 Bad Request, Code: InvalidPart, RequestId: tx00000000000016cd6af-0060d482e1-15da959a-fra1b, Resource: )
We do not use any special settings. With other cloud providers and with a self-hosted Minio, copying from one bucket to another bucket works without problems. Is there anything special to consider with Digitalocean spaces ? Do I have to provide special headers ?
Thank you and best regards
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
It seems there might be an issue with multipart upload or part sizes when copying a file from one Space to another. DigitalOcean Spaces is compatible with the S3 protocol; however, there might be slight differences compared to other cloud providers or self-hosted solutions like Minio.
To resolve this issue, please make sure to check the following:
For further help on using DigitalOcean Spaces, please refer to the official documentation.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.