Duplicate Keys contraints violation

Hi there,
from time to time we see hundreds of duplicate key messages like this:
duplicate key value violates unique constraint “gateway_name_organization_id_key”

Actually we don’t know why this happens. Do you have any hint for the cause of the unique constraint violation?

Thanks
Flo

The origin could be an API client, trying to create gateways which are conflicting with the gateway name, organization id unique key?

Further investigation showed gateway IP changes lead to the creation of “new” gateways which are already known. Thank you brocaar, you made us investigating the right area.