Unable to refresh Server Session using MongoDB C# driver

Trying to do this:

When i try to run this code (db is IMongoDatabase type)

var session = await db.Client.StartSessionAsync();
var command = new BsonDocument("refreshSessions", new BsonArray([session.ServerSession.Id]));
await db.RunCommandAsync(new BsonDocumentCommand<BsonDocument>(command));

i get this exception
Command refreshSessions failed: BSON field 'refreshSessions.refreshSessionsFromClient.id' is the wrong binData type 'UUID(deprecated)', expected type 'UUID'.

Hi @Venkat_Guru, could you please share all of your code?