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 the SharePoint column does not exist it may have been deleted by another user error. The error came while trying to add a list column to a list view using the PnP core CSOM library.

Recently, I was creating a provider-hosted add-in for the 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, it was giving the error that the Column name does not exist. Another user may have deleted it.

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 in the screenshot below.

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

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 remove the bracket() and again run the code, then it will execute and give the appropriate result.

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.

You may also like:

  • Let me make that statement generic. I was facing the same issue, Column Does not exist but I did not have any ‘(‘ in my column names. Kept scratching my head the whole day and then found this. Posting it in comments so you wont!

    There was a new line in the column name, basically any out of the ordinary characted would result in this error

    • thanks, had the same … accidentally had a newline in one column name … was losing sleep over this 🙂

    • Hi Mohtasim,
      Can you please share some more on this.
      I’m facing the similar issue and my Lists have DOB as one column name.

  • >