I’m using the java client to call the API to create users. I’m getting a 400 response:
Field error in object ‘newUser’ on field ‘login’: rejected value [my-email@somedomain.com]; codes [notUniqueWithinOrg.newUser.login,notUniqueWithinOrg.login,notUniqueWithinOrg.java.lang.String,notUniqueWithinOrg]; arguments ; default message [null] - login: An object with this field already exists in the current organization)
However, I am NOT using a duplicate login, I am using a duplicate email address. I have changed the login field so it does not require an email address, as we do not use email addresses as our login id’s.
I have successfully import users from ldap with duplicate emails and different logins before. How can I use the api to do the same?