Skip to main content
All CollectionsKnowledge BaseEndpoint and SaaS AppsTroubleshooting - Endpoint and SaaS Apps
Microsoft SharePoint is backing up with 'object is not iterable' error
Microsoft SharePoint is backing up with 'object is not iterable' error
Updated over 11 months ago

Problem description

The Microsoft SharePoint site is backing up with errors. The following error is reported:

Error: 'NoneType' object is not iterable

Traceback

[ERROR] Error while fetching Site Settings for site /sites/ImmedisIT/DocuSignForSharePoint/ Error: 'NoneType' object is not iterable

Cause

In this scenario, inSync is trying to backup the 'DocuSignForSharePoint' custom app. Currently, inSync does not support the backup and restore of custom app content for Microsoft SharePoint.

Hence, inSync skips the backup of the custom app content in this case. In addition, the Microsoft SharePoint site is backed up with Error: 'NoneType' object is not iterable error.

Resolution

Adding exclusions for the custom app in the Microsoft SharePoint backup settings helps to mitigate this issue. In this scenario, add the 'DocuSignForSharePoint' custom app in the exclusion settings. The following steps explain the procedure to define exclusion settings in inSync for the Microsoft SharePoint site.

1. On the inSync Management Console menu bar, click Data Sources and click Microsoft 365.

2. Select SharePoint and select the site.

3. In the Site Settings area, click Edit.

SharePoint_Site_Settings.png

4. Select Custom from Settings and include the app name in the Relative URL Paths text area.

SharePoint_Site_Edit_Relative_URL_Paths.png

5. Click Save.

The next backup excludes this app content and the backup activity completes without any errors.

Did this answer your question?