mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[GH-ISSUE #30] Bug report: Sharepoint sync not following redirects #21
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @profoundvision on GitHub (Jun 5, 2026).
Original GitHub issue: https://github.com/open-webui/oikb/issues/30
Description:
I am encountering an issue where the
oikb.daemonsuccessfully authenticates and maps the SharePoint folder structure, but fails to actually download the file contents.The daemon correctly identifies the files and attempts to fetch the content via the
/contentendpoint, but it is receiving anHTTP 302 Foundresponse from Microsoft Graph. The daemon is not following the redirect to the provideddownload.aspxURL, resulting in a sync failure for individual files.Steps to Reproduce:
.docxfiles, the process logs a302 Founderror and marks the file with an✗.Observed Logs:
Expected Behavior:
The daemon should follow the redirection provided by the Microsoft Graph API to retrieve the actual file bytes from the temporary pre-authenticated URL.
Actual Behavior:
The daemon treats the
302response as a failure and skips the file.@DantesVault commented on GitHub (Jun 8, 2026):
Im experiencing the same issue. @profoundvision is any file format working for you when syncing with SharePoint?
@profoundvision commented on GitHub (Jun 9, 2026):
.md, .txt, .pdf are not working as well.