You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZendeskAPI::User.create_or_update!(client, {email: 'lorem@ipsum.com'}) # displays created record
ZendeskAPI::User.create_or_update!(client, {email: 'lorem@ipsum.com'}) # displays created record
CreateOrUpdate throws an error on multiple calls for Organization
ZendeskAPI::Organization.create_or_update!(client, {name: 'Lorem Ipsum'}) # displays created record
ZendeskAPI::Organization.create_or_update!(client, {name: 'Lorem Ipsum'}) # ZendeskAPI::Error::RecordInvalid (ZendeskAPI::Error::RecordInvalid: {"name"=>[{"description"=>"Name: Lorem Ipsum has already been taken", "error"=>"DuplicateValue"}]})