By JetForMe
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?
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,
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
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/
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.