Upsert Not Creating Unique GUID

Thanks for the reply! Shouldn’t the database automatically generate the new guid so there are no duplicates? Like I said, my collection.InsertOne(record) is creating a Guid automatically.

I’m not sure the correct way to implement this and any insight you have would be greatly appreciated.