-
Notifications
You must be signed in to change notification settings - Fork 402
[FilePicker]Files keep loading when previewing all files in OneDrive. #1994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for submitting your first issue to this project. |
Hello @wangliantaoTTT, I was able to replicate the issue, and will soon come-up with the solution for the same. @joelfmrodrigues and @michaelmaillot can you assign this to me. Thanks, |
Hello, Thanks @wangliantaoTTT for raising this and thanks @NishkalankBezawada for working on it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Category
[]Enhancement
[x] Bug
[]Question
Version
Please specify what version of the library you are using:
3.21.0
Expected / Desired Behavior / Question
When using the FilePicker control from @pnp/spfx-controls-react, users should be able to browse and select files from OneDrive normally. The OneDrive tab should load and display the user's files or folders for selection.
Observed Behavior
All other tabs in the FilePicker — such as Recent, Site, and Upload — work as expected and load properly.
When switching to the OneDrive tab in the FilePicker, it shows a loading spinner indefinitely and never displays the files.
Meanwhile, no error is thrown in the UI, but a backend call fails with the following response:
{
"error": {
"code": "-2147024894, System.IO.FileNotFoundException",
"message": "ファイルが見つかりません。" // File not found
}
}
Add the FilePicker control to a custom SPFx property pane or component.
Ensure OneDrive tab is visible (hideOneDriveTab: false).
Click on the OneDrive tab.
Observe that it stays stuck in loading and never shows any file list.
The text was updated successfully, but these errors were encountered: