Getting "The remote server returned an error (429)" when trying to deploy an app using Visual Studio

Eric Shen 21 Reputation points
2021-02-04T16:30:29.89+00:00

Just recently (past week or two), I started getting these errors when I am trying to deploy an app I'm developing using Visual Studio 2019 on my SharePoint online development site. I know it's not due to throttling from users since I'm the only one using the site. I usually have to wait a few minutes for Visual Studio be able to connect to my SharePoint online site.

Has anybody else been seeing this?

------ Deploy started: Project: OperatorInstructionLog, Configuration: Debug Any CPU ------
Active Deployment Configuration: Deploy SharePoint Add-in
Skipping deployment step because a pre-deployment command is not specified.
Skipping the uninstall step because the SharePoint Add-in is not installed on the server.
Install SharePoint Add-in:
Uploading the SharePoint Add-in...
Error occurred in deployment step 'Install SharePoint Add-in': The remote server returned an error: (429).
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,783 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points
    2021-02-05T01:51:53.483+00:00

    HTTP status code 429 means that SharePoint has received too many requests and the server is throttling your tenant. When a user exceeds usage limits, SharePoint Online throttles any further requests from that user account for a short period. All user actions are throttled while the throttle is in effect.
    A detailed article on SharePoint Online resource throttling is available with MSDN. These basics must be the same for SharePoint Server on premise too.


    If the response 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.

    1 person found this answer helpful.