1 Reply Latest reply on Nov 19, 2015 12:13 PM by wilkenm

    409 error when trying to update a Person


      When trying to do a simple update to a Person, I get an HTTP 409 response from the REST api.


      I've followed the example here: REST API Examples - Jive Developers, using curl and the minimal set of Person attributes shown.  I've also tried using a complete set of Person data retrieved via the API, and get the same result.  There's a duplicate question, Updating person details using REST interface with Curl, which hasn't been answered.


      This is happening on Jive


      curl -v -u service_account:password \
      -X PUT \
      -k --header "Content-Type: application/json" --header "Accept: application/json" \
      -d '{"status":"test status","emails":[{"jive_label":"Email","value":"abc.def@hijk.com"}],"jive":{"username":"ABCDEF"},"name":{"familyName":"Abc","givenName":"Abc"},"type":"person"}' "https://frontlotqa.disney.com/api/core/v3/people/999999"


        "error" : {
          "code" : "peopleDuplicateUsername",
          "status" : 409,
          "message" : "A user with the same username already exists"


      Any suggestions would be greatly appreciated.