API gateway Enrollment fails with UniqueKeyConflict error message