Column does not exist. it may have been deleted by another user error in SharePoint Online

In this SharePoint tutorial, We will discuss how to solve SharePoint column does not exist it may have been deleted by another user error. The error comes while I was trying to add a list column to a list view using PnP core CSOM library.

Recently I was creating a provider hosted add-in for SharePoint Online site. There I was trying to create a site column and then I was trying to add that column to the list view using PnP core SharePoint CSOM library.

The error was not coming while creating the site column but when I was trying to add that column to a SharePoint list view, then it was giving the error as Column name does not exist it may have been deleted by another user.

I was trying to add a column name as “MyColumn(LB)” to the view. When I was running the code, an error was coming that “MyColumn(LB) does not exist. It may have been deleted by another user“.

You can see the error message as like below screenshot.

sharepoint column does not exist it may have been deleted by another user
sharepoint column does not exist it may have been deleted by another user

SharePoint column does not exist. it may have been deleted by another user

The Solution of this above error is: You should remove the braces () from the internal column name. Because it doesn’t support any bracket() with the internal column name. Once you will remove the bracket() and again run the code, then it will execute and give the appropriate result.

You may like following SharePoint Online tutorials:

In this SharePoint PnP tutorial, We discussed the solution of an error as “Column name does not exist. It may have been deleted by another user.

>