Slaves.SaveSettings (stand-alone python API) throws error

I’m having trouble saving slave settings (using Slaves.SaveSlaveSettings(dict)) on Deadline 10.2.0.10 where it always seems to return the following error:

Connection Server error: POST https://xx.xx.xx.xx:xxxx/db/slaves/settings/save returned InternalServerError “” (System.Net.WebException)

In the repository log I see the following error:
MongoDB.Driver.MongoDuplicateKeyException: WriteConcern detected an error ‘E11000 duplicate key error collection: deadline10db.SlaveSettings index: id dup key: { _id: “xxxx” }’. (Response was { “ok” : 1, “code” : 11000, “err” : “E11000 duplicate key error collection: deadline10db.SlaveSettings index: id dup key: { _id: “xxxx” }”, “n” : NumberLong(0) }).

The information (dict) I am saving is the “Settings” sub-dictionary that was received by a call to Slaves.GetSlaveInfoSettings.

I have been trying to debug this for a while but no luck so far… Anyone knows how to make this work?

Thanks!
Martijn

1 Like

I’m seeing this error as well, did you ever get any feedback on the cause/resolution?

Thanks,
Rob