@Ankush Welcome to Microsoft Q&A forums.
Seems like you are running into throttling issues because you provisioned for 400RU's only.
You are performing more operations than the container can accommodate within the provisioned capacity.
Either increase the throughput on your Cosmos container or upload the records in small batches with delay of a few seconds between each batch.
----------
If an answer is helpful, please "Accept answer" or "Up-Vote" which might help other community members reading this thread.
And if you have further questions or issues, please let us know.