Hi @Vijayalaxmi Kattimani ,I have the same issue with a newly created Cosmos DB with MongoDB server version 7.
Got following error:
Caused by: org.springframework.data.mongodb.UncategorizedMongoDbException: Server at cdb-ms-prod-eastus1-fe13.documents.azure.com:10255 reports wire version 6, but this version of the driver requires at least 7 (MongoDB 3.6).
and here is additional log for you to analyze potential issues:
[azure.com:10255] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=****.mongo.cosmos.azure.com:10255, type=REPLICA_SET_PRIMARY, cryptd=false, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=6, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=1198968432, minRoundTripTimeNanos=0, setName='globaldb', canonicalAddress=cdb-ms-prod-eastus1-fe13.documents.azure.com:10255, hosts=[cdb-ms-prod-eastus1-fe13.documents.azure.com:10255], passives=[], arbiters=[], primary='cdb-ms-prod-eastus1-fe13.documents.azure.com:10255', tagSet=TagSet{[Tag{name='region', value='East US'}]}, electionId=null, setVersion=1, topologyVersion=null, lastWriteDate=null, lastUpdateTimeNanos=351436702966889}