sp-dev-docs icon indicating copy to clipboard operation
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

Open SPJS opened this issue 1 year ago • 0 comments

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: image

If I click the "Retry" button the developer console shows these errors: image

The problem can be resolved by going to the developer tools > Application > Storage and click Clear site data: image

Steps to reproduce

  1. Add or update a listview command set extension in the APP Catalog
  2. Refresh a list view or navigate between two lists using the quicklaunch menu.

Expected behavior

The list view should not throw the error...

SPJS avatar Oct 24 '24 15:10 SPJS