Errors when selecting the Files tab on a Teams channel

This article lists some common error messages that you receive when you select the Files tab on a team's channel in Microsoft Teams, and it provides resolutions that you can try.

Error: The object specified does not belong to a list

This error occurs if the name of the document library on your SharePoint site was changed from its default, "Shared Documents," to another name.

To resolve this issue, use one of the following methods to revert the name of the document library to "Shared Documents." You must have site owner permissions to make this change.

Method 1

  1. Install the PnP PowerShell module.

  2. Run Connect-PnPOnline to connect to the SharePoint site. For example:

    Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/team" -Interactive
    
  3. Run Get-PnPList, and place the renamed document library into a variable by using the library name. In the following example, the library name is "Renamed Documents."

    $list = Get-PnPList 'Renamed Documents'
    

    Note: To see all document libraries on the site, run Get-PnPList without any parameters.

  4. Change the document library name to Shared Documents.

    $list.RootFolder.MoveTo('Shared Documents')
    $list.Update()
    

Method 2

  1. Open the SharePoint site in SharePoint Designer.

  2. Go to All Files.

  3. Locate the document library folder by its new name. For example, in the following screenshot, the default name was changed to "Renamed Documents."

    Screenshot of the renamed document library in All Files.

  4. Right-click the folder, select Rename, and then change the name to Shared Documents.

Error: There was a problem reaching this app

This error occurs if the ownership information for the Microsoft 365 group that's associated with the team is missing from Teams. If an assigned owner leaves the company, the group becomes orphaned.

Resolution

Assign an owner to the Microsoft 365 group that's associated with the team. For more information, see Assign a new owner to an orphaned group.

Note: Only a Microsoft 365 administrator in your organization can make this change.