How do you override warnings [not errors] and force execution of additions/changes when using the API to add or set values, especially in batch mode?
These warnings break the import process and damage further operations by not providing the needed items for those operations.
Errors on host addition:
Line 170: {
"code" : "err_validation_failed",
"message" : "Validation failed with 1 warning",
"warnings" : [ {
"message" : "Multiple objects have the same IP address 205.178.146.249"
} ]
}
Line 281: {
"code" : "err_validation_failed",
"message" : "Validation failed with 1 warning",
"warnings" : [ {
"message" : "Multiple objects have the same IP address 50.79.16.164"
} ]
}
subsequent errors in group membership setting:
Line 384: {
"code" : "generic_err_object_not_found",
"message" : "Requested object [e-mail_mail.ericjbeasley.com] not found"
}
Line 463: {
"code" : "generic_err_object_not_found",
"message" : "Requested object [PUBLIC-50x79x16x164] not found"
}
I can override these warnings and add my objects in the GUI, but the API doesn't provide any way to do this and --ignore-errors true only keeps the error from breaking operation.
This EPIC FAIL needs a solution!