@Kiruphasankaran Nataraj Thank you for getting back and for sharing the error message.
Azure Cosmos DB for MongoDB operations may fail with rate-limiting (16500/429) errors if they exceed a collection's throughput limit (RUs).
You should not do ordered writes, it reduces performance: Optimize write performance in the Azure Cosmos DB for MongoDB | Microsoft Learn
Server side retry should be enabled to prevent rate limiting errors.
Please turn off retryable writes- I don't think it's needed since network errors don't appear to be an issue. With this feature, you can't do bulk unordered writes, which will prevent you from implementing the recommendation in the first point. 4.2 server version supported features and syntax in Azure Cosmos DB for MongoDB | Microsoft Learn
Hope that clarifies your ask.
Please don't forget to mark as accept answer if the reply was helpful.
Regards,
Oury