'Quota Exceeded' error while uploading files to DO spaces with the help of AWS Java SDK.

November 13, 2017 1.9k views
Java API DigitalOcean Object Storage Ubuntu

Hi All,

I am trying to upload files on DO Spaces with the help of AWS SDK.
I have successfully made connection with the DO Spaces and also uploaded files/directories for first few times.

But after that, It is throwing me AWS Java error as 'Quota Exceeded'.
Can someone please help me with that.

Exact Error is : AmazonServiceException: Caught an AmazonServiceException, which means your request made it to Amazon S3, but was rejected with an error response for some reason.
Error Message: null (Service: Amazon S3; Status Code: 403; Error Code: QuotaExceeded; Request ID: tx00000000000000
**-****--; S3 Extended Request ID: *-*-nyc)
HTTP Status Code: 403
AWS Error Code: QuotaExceeded
Error Type: Client
Request ID: x00000000000000
*-****--*** **

3 Answers

Why are you asking the DigitalOcean community about an AWS error?

  • When I am uploading specifically to DigitalOcean Spaces, I'm facing above problem after 2 attempts through AWS Java SDK.

    Also I'm not facing any problem while uploading to Amazon S3, only uploading to DO spaces is throwing me this error.

    That's the reason I'm asking to DO Community, if any other user has faced the same problem and resolved it.

Did you solve this issue? I've got the same error with boto3 python..

I'm also getting this problem with boto3 and asyncio. I wonder if a certain amount of backoff is required for concurrent uploads.

Perhaps there is a per-second or per-minute limit on bandwidth that we need to be aware of?

Have another answer? Share your knowledge.