Collections returned by API but not displayed in web interface or desktop app

'm experiencing an issue where my Zotero library collections are visible via the API but not shown in either the web interface (zotero.org) or the desktop app (v9.0.2 on Windows 11).

Details:

The API (/users/{userID}/collections) returns 31 collections with correct metadata (names, keys, parent relationships, item counts).
Individual collection queries (/users/{userID}/collections/{key}) also return valid data.
The web interface shows only "Unfiled Items" (47 items) and "Tags" — no collection tree at all.
The desktop app (Zotero 9.0.2) syncs successfully (green sync button completes), but also shows no collections in the left sidebar.
Items themselves are present: "Unfiled Items" shows 47 items, and the API confirms there are 200 items total, most of which are assigned to collections.
The library name returned by the API is correct: jr_chao.
The API key is valid and has full read/write access.
What I've tried (no effect):

Restarting the desktop app
Creating a fresh local database (renaming zotero.sqlite then re-syncing)
Reinstalling Zotero 9.0.2
Refreshing the web interface (Ctrl+F5)
Checking View → Show/Hide → Collections is enabled
Console errors (from desktop app):

Error: Failed to load resource://services-settings/remote-settings.sys.mjs
This happens consistently on startup. Not sure if related.

Expected behavior: Collections should be visible in both the web interface and desktop app, matching the API response.

  • dstillman Zotero Team
    They're in the trash.
  • dstillman Zotero Team
    edited 14 days ago
    Specifically, most of them are descendant collections of collections that are in the trash. The top-most ones will show deleted: true via the API.

    But this is an API bug, actually. /items requests take includeTrashed=1, and default to not returning items in the trash. We just never wired that up for collections since adding support for moving collections to the trash. We'll fix that, but in case, the web library and desktop app are correct.
Sign In or Register to comment.