The page you selected contains a list that does not exist. It may have been deleted by another user error in SharePoint Add-in

Recently I was trying to deploy a SharePoint hosted add-in from visual studio 2015 to a SharePoint online site. But while deploying I got the below error. Error occurred in deployment step ‘Install SharePoint Add-in’: Failed to install SharePoint Add-in. Please see the output window for details.

The page you selected contains a list that does not exist
The page you selected contains a list that does not exist

When I checked the output window, I can see the error like below:

The page you selected contains a list that does not exist. It may have been deleted by another user.

It may have been deleted by another user error in SharePoint Add-in
It may have been deleted by another user error in SharePoint Add-in

The page you selected contains a list that does not exist

I have created a SharePoint hosted add-in using visual studio and deployed to SharePoint online site. You can also check a video tutorial on how to create and Deploy SharePoint Hosted Add-in using Visual Studio.

After that, I have added a workflow into that add-in. And after that, I changed the Integrated App to True like below, so that the workflow will be available inside the host web.

Error occurred in deployment step Install SharePoint Add-in Failed to install SharePoint Add-in. Please see the output window for details.
Error occurred in deployment step Install SharePoint Add-in Failed to install SharePoint Add-in. Please see the output window for details.

The workflow has been attached to the add-in web list. Now after deploy I got the above error.

The solution I figure out is that while adding the workflow, in the SharePoint customization wizard, uncheck the “Yes, associate this workflow with the following libraries and lists. If this step is omitted, you must manually associate the workflow after it is created.” option like below:

SharePoint add-in workflow deploy to host web
SharePoint add-in workflow deploy to host web

If you have already added the workflow, but you want to uncheck the above box, I did not get any option to do this. So better option is to add the workflow once again and uncheck the above option like above. Then the error will not come. If anyone has any solution, kindly add in the comment section.

Read some SharePoint workflow tutorials:

I hope this SharePoint tutorial helps to fix error The page you selected contains a list that does not exist. It may have been deleted by another user.

>