Question

I can put objects, but get 503 for ListBuckets

I was able to set up a Swift (language) client SDK to write some code to put objects in a bucket, but the ListBuckets API returns 503 Service Unavailable. Should that API also work?


Submit an answer


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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
December 27, 2023

Heya,

As already mentioned you might be hitting the limits.

Spaces have the following request rate limits:

  • 750 requests (any operation) per IP address per second to all Spaces on an account.

  • 240 total operations per second to any individual Space.

  • 150 combined PUT, POST, COPY, DELETE, and LIST operations per second to any individual Space. We may further limit LIST operations if necessary under periods of high load.

  • 5 PUT or COPY requests per 5 minutes to any individual object in a Space.

For more information you can take a look at the documentation here:

https://docs.digitalocean.com/products/spaces/details/limits/

alexdo
Site Moderator
Site Moderator badge
December 27, 2023

Heya,

This can happen when you attempt too many requests at a time. Can you confirm how many items/objects you’re trying to upload?

Can you also upload a single file without any issues to verify that this works without hassle?

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel