digitalocean / droplet_kit

DropletKit is the official DigitalOcean API client for Ruby.
MIT License
514 stars 152 forks source link

Core API Issue on adding droplet into load balancer #153

Open jimmychu0807 opened 6 years ago

jimmychu0807 commented 6 years ago

I am reporting issue more on the core API, instead of the ruby interface, as this happens on both ruby and curl.

When I try to add a droplet into a load balancer, using:

@client.load_balancers.add_droplets([droplet1_id], id: lb.id)

It just returns

Error: 422: {"id":"unprocessable_entity","message":"need to provide either a tag or a list of droplets","request_id":"f80013f6-f06b-400f-8591-cb6d5305dbb6"}.
hilary commented 5 years ago

Is this still happening?

jimmychu0807 commented 5 years ago

Didn't test it. I believed I created a droplet first and then add it to a load balancer.