sp-dev-docs
sp-dev-docs copied to clipboard
Error message: "The specified list is invalid" in list view after adding or updating a listview command set extension
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [ ] 💥 Microsoft Edge
- [X] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version: Version 130.0.6723.70 (Official Build) (64-bit)
- SPFx version: 1.20.2
Describe the bug / error
When you add or update a listview command set extension (by uploading it to the APP Catalog - in my test, the Site Collection APP Catalog) and then refresh a list view where this command set extension is active (or navigate between two different lists using the quick launch), the list view throws this error:
If I click the "Retry" button the developer console shows these errors:
The problem can be resolved by going to the developer tools > Application > Storage and click Clear site data:
Steps to reproduce
- Add or update a listview command set extension in the APP Catalog
- Refresh a list view or navigate between two lists using the quicklaunch menu.
Expected behavior
The list view should not throw the error...