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

November 13, 2017 123 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
*-****--*** **

1 Answer

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.

    • AWS = Amazon Web Services, it's not digital ocean.

      So if you're trying to use the AWS java sdk ( specifically for Amazon Web Services ) to upload files to Digital Ocean, it's normal that some errors will occur.

      Digital Ocean and Amazon Web Services are different services and different companies at that.

Have another answer? Share your knowledge.