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: '[email protected]'}) # displays created record
ZendeskAPI::User.create_or_update!(client, {email: '[email protected]'}) # 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"}]})
The text was updated successfully, but these errors were encountered:
ghost
changed the title
CreateOrUpdate for Organisation not consistent across expected implementation
CreateOrUpdate for Organisation not consistent with current expectation.
Jun 23, 2021
Just out of curiosity, have you tried the "raw" calls to the zendesk API. Organizations does have an endpointcreate_or_update and I'm wondering if the endpoint is properly matched and mapped here.
CreateOrUpdate
works as expected forUser
CreateOrUpdate
throws an error on multiple calls forOrganization
The text was updated successfully, but these errors were encountered: