Skip to content

"There was an issue when fetching metadata information associated with a subsite" - Bedrock Knowledge base sync issue

0

Hello - Im trying to sync data from a sharepoint site to a Bedrock Knowledge Base (to be used for a chatbot) and keep getting this error: Failed document: https://sharepointsitenameaddress. There was an issue when fetching metadata information associated with a subsite.

The sync completes, so i know its not an authentication issue. The history shows 1 source file and 1 failed file once it completes.

ive confirmed my login is a member of the site and has permissions. Not sure what else to check or why the sync is failing. Can someone point me in the right direction to troubleshoot?

1 Answer
0

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:

  1. 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.

  2. 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)".

  3. 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.

  4. Check SharePoint URL format: Ensure your SharePoint URL is correctly formatted and points to the actual SharePoint site, not to specific locations within it.

  5. 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.

  6. 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

answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.