digitalocean/droplet_kit

Core API Issue on adding droplet into load balancer

jimmychu0807 opened this issue · 2 comments

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"}.

Is this still happening?

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