Meghana
08/14/2025, 10:57 PMkapa.ai
08/14/2025, 10:57 PMkapa.ai
08/14/2025, 10:58 PMkapa.ai
08/14/2025, 10:58 PMkapa.ai
08/14/2025, 11:00 PMkapa.ai
08/14/2025, 11:01 PM404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/sites/balsam1.sharepoint.com:/sites/DataInsights//drives ... ('itemNotFound', 'The provided path does not exist, or does not represent a site', ...) ... FolderNotFoundException: Requested item/folder could not be found: url: https://graph.microsoft.com/v1.0/sites/balsam1.sharepoint.com:/sites/DataInsights//drives Analysis and Troubleshooting Steps: 1. Site URL Formatting The error suggests that the connector is trying to access a SharePoint site or folder that does not exist or is incorrectly specified. Notice the double slashes in `/sites/DataInsights//drives`—this could indicate a misconfiguration in the folder path or site URL. According to the [official documentation](https://docs.airbyte.com/integrations/sources/microsoft-sharepoint#step-2-set-up-the-microsoft-sharepoint-connector-in-airbyte), the site URL should be in the format: https://<tenant_name>.sharepoint.com/sites/<site> Double-check your configuration for any extra or missing slashes, and ensure the site and folder path are correct. 2. Manual vs. Cron Job Environment Since manual sync works but the cron job fails, this points to a possible difference in environment variables, credentials, or how the configuration is loaded between the two execution modes. Make sure the exact same configuration and credentials are used in both cases, and that the cron job has access to all necessary environment variables and files. 3. Permissions Ensure that the account used by the cron job has the same permissions as the one used for manual sync. Sometimes, service accounts or different authentication contexts can lead to access issues. 4. Known Limitations There are known issues with the SharePoint connector regarding site and drive specification. If your files are not in the default site, you must specify the correct site URL. The connector may not yet support iterating through all sites or drives unless explicitly configured [source](https://github.com/airbytehq/airbyte/issues/37003). What to do next: - Review and correct the site URL and folder path in your connector configuration to match the required format. - Ensure there are no extra or missing slashes. - Confirm that the cron job uses the same configuration and credentials as the manual sync. - If the issue persists, check the permissions of the account used by the cron job. If after these steps the problem remains, the knowledge sources do not provide a more specific solution for this exact scenario. You may need to provide additional details or consult Airbyte support for further troubleshooting.kapa.ai
08/14/2025, 11:12 PMkapa.ai
08/14/2025, 11:12 PMFailed to retrieve drives from sharepoint https://balsam1.sharepoint.com/sites/DataInsights/ site. Error: Requested item/folder could not be found: url: https://graph.microsoft.com/v1.0/sites/balsam1.sharepoint.com:/sites/DataInsights//drives ... ('itemNotFound', 'The provided path does not exist, or does not represent a site', '404 Client Error: Not Found for url: ...') Analysis based on knowledge sources: 1. Site URL Formatting Issue The URL being constructed for the Microsoft Graph API contains a double slash (//) and an unusual format: https://graph.microsoft.com/v1.0/sites/balsam1.sharepoint.com:/sites/DataInsights//drives According to the [Airbyte SharePoint connector documentation](https://docs.airbyte.com/integrations/sources/microsoft-sharepoint#step-2-set-up-the-microsoft-sharepoint-connector-in-airbyte), the site URL should be in the format: https://<tenant_name>.sharepoint.com/sites/<site> Double-check your connector configuration for extra or missing slashes in the site URL or folder path fields. Even a small typo or extra slash can cause the connector to fail to find the site or drive. 2. Manual vs. Cron Job Since manual sync works but the cron job fails, this strongly suggests a difference in how the configuration is loaded or passed to the connector. For example, environment variables, secrets, or config files may be set differently in the cron environment. Ensure the cron job is using the exact same configuration and credentials as your manual sync. 3. Known Limitations There are known issues with the SharePoint connector regarding custom site and drive support. If your files are not in the default site, you must specify the correct site URL. The connector may not yet support iterating through all sites or drives unless explicitly configured, and misconfiguration can lead to "item not found" errors [source](https://github.com/airbytehq/airbyte/issues/37003). What you should do: - Carefully review your site URL and folder path configuration in Airbyte. Remove any extra slashes and ensure the format matches the documentation. - Verify that the cron job uses the same configuration and credentials as your manual sync. - Check for environment differences between manual and scheduled runs, especially how secrets and configs are loaded. If you correct the configuration and the issue persists, the knowledge sources do not provide a more specific solution for this scenario. In that case, you may need to reach out to Airbyte support or provide additional details for further troubleshooting. --- References were integrated directly above as per your instructions.