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