- Newest
- Most votes
- Most comments
When you encounter the error "There was an issue when fetching metadata information associated with a subsite" during a SharePoint sync with Amazon Bedrock Knowledge Base, there are several potential causes to investigate.
Since your sync completes but shows one failed file, this suggests that the authentication is working correctly, but there's an issue with specific permissions or configurations related to metadata access. Here are some troubleshooting steps to consider:
-
Check API permissions: Ensure your SharePoint application has the correct API permissions. The SharePoint application should have "SharePoint: AllSites.Read (Delegated)" and "Microsoft Graph > Sites.FullControl.All (Type=Delegated)" permissions to properly read items and metadata in all site collections.
-
For more restricted permissions, you could use "SharePoint: Sites.Read.All (Application)", "Microsoft Graph > GroupMember.Read.All (Application)", and "Microsoft Graph > User.Read.All (Application)".
-
Verify security settings: Make sure that Security Defaults and multi-factor authentication (MFA) are deactivated for the SharePoint account being used. These security features can prevent Amazon Bedrock from properly crawling through the site's content and accessing metadata.
-
Check SharePoint URL format: Ensure your SharePoint URL is correctly formatted and points to the actual SharePoint site, not to specific locations within it.
-
Review site permissions: Even though your login is a member of the site, check if there are any specific subsites or document libraries with unique permissions that might be causing the metadata fetching issue.
-
Check logs: If possible, review the CloudWatch logs for more detailed error information that might provide additional context about the metadata fetching failure.
If these steps don't resolve the issue, you may need to create a HAR file and Console logs to submit to AWS Support for further investigation.
Sources
Resolve "Failed to connect" error for SharePoint in Amazon Bedrock | AWS re:Post
Error Syncing SharePoint Data Source with Amazon Bedrock Knowledgebase | AWS re:Post
Resolve file sync failures with Amazon Bedrock Knowledge Bases | AWS re:Post
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
