CA API Gateway: Duplicate entry errors