Hi @Prateek Srivastava ,
The 429 ("Too many requests") error could mean that you get throttled, you could go through the article Avoid getting throttled or blocked in SharePoint Online. It may give you the basic idea behind this error and you may find out why this error is generated.
Here are best practices to handle throttling in the article:
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.