Extension Update Item Collections returns Error #5592

Closed
opened 2026-03-07 20:30:57 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @TheMardy on GitHub (Jun 27, 2024).

Extension Change Collection not working

When trying to add/remove an item to an organization collection in the Extension, it errors.

Deployment environment

Your environment (Generated via diagnostics page)

  • Vaultwarden version: v1.30.5-a4c7fadb
  • Web-vault version: v2024.5.1
  • OS/Arch: linux/x86_64
  • Running within a container: true (Base: Debian)
  • Environment settings overridden: false
  • Uses a reverse proxy: true
  • IP Header check: true (X-Real-IP)
  • Internet access: true
  • Internet access via a proxy: false
  • DNS Check: true
  • Browser/Server Time Check: true
  • Server/NTP Time Check: true
  • Domain Configuration Check: true
  • HTTPS Check: true
  • Database type: SQLite
  • Database version: 3.45.0

Steps to reproduce

Open Extension (Chrome / Firefox, 2024.6.2) -> Item -> Edit -> Collections -> Check a different collection -> Save

Expected behaviour

Save the item and add it to the collection

Actual behaviour

It Errors.

Troubleshooting data

The extension uses a different request than the app/web interface:

Mobile:

[2024-06-20 13:14:53.052][request][INFO] PUT /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d
[2024-06-20 13:14:53.059][response][INFO] (put_cipher) PUT /api/ciphers/<uuid> => 200 OK
[2024-06-20 13:14:53.083][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:14:53.084][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK
[2024-06-20 13:14:53.128][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:14:53.129][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK
[2024-06-20 13:14:53.181][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:14:53.182][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK

[2024-06-20 13:15:12.043][request][INFO] PUT /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/collections
[2024-06-20 13:15:12.049][response][INFO] (put_collections_update) PUT /api/ciphers/<uuid>/collections => 200 OK
[2024-06-20 13:15:12.067][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:15:12.068][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK
[2024-06-20 13:15:12.084][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:15:12.084][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:15:12.085][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK
[2024-06-20 13:15:12.086][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK
[2024-06-20 13:15:12.098][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:15:12.099][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK
[2024-06-20 13:15:12.128][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details
[2024-06-20 13:15:12.129][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK

Extension:

[2024-06-20 13:15:59.816][request][INFO] PUT /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/collections_v2
[2024-06-20 13:15:59.816][response][INFO] 404 Not Found
Originally created by @TheMardy on GitHub (Jun 27, 2024). ### Extension Change Collection not working <!-- Describe your issue here. --> When trying to add/remove an item to an organization collection in the Extension, it errors. ### Deployment environment ### Your environment (Generated via diagnostics page) * Vaultwarden version: v1.30.5-a4c7fadb * Web-vault version: v2024.5.1 * OS/Arch: linux/x86_64 * Running within a container: true (Base: Debian) * Environment settings overridden: false * Uses a reverse proxy: true * IP Header check: true (X-Real-IP) * Internet access: true * Internet access via a proxy: false * DNS Check: true * Browser/Server Time Check: true * Server/NTP Time Check: true * Domain Configuration Check: true * HTTPS Check: true * Database type: SQLite * Database version: 3.45.0 ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start vaultwarden? --> Open Extension (Chrome / Firefox, 2024.6.2) -> Item -> Edit -> Collections -> Check a different collection -> Save ### Expected behaviour Save the item and add it to the collection ### Actual behaviour It Errors. ### Troubleshooting data The extension uses a different request than the app/web interface: Mobile: ``` [2024-06-20 13:14:53.052][request][INFO] PUT /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d [2024-06-20 13:14:53.059][response][INFO] (put_cipher) PUT /api/ciphers/<uuid> => 200 OK [2024-06-20 13:14:53.083][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:14:53.084][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:14:53.128][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:14:53.129][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:14:53.181][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:14:53.182][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:15:12.043][request][INFO] PUT /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/collections [2024-06-20 13:15:12.049][response][INFO] (put_collections_update) PUT /api/ciphers/<uuid>/collections => 200 OK [2024-06-20 13:15:12.067][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:15:12.068][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:15:12.084][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:15:12.084][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:15:12.085][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:15:12.086][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:15:12.098][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:15:12.099][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK [2024-06-20 13:15:12.128][request][INFO] GET /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/details [2024-06-20 13:15:12.129][response][INFO] (get_cipher_details) GET /api/ciphers/<uuid>/details => 200 OK ``` Extension: ``` [2024-06-20 13:15:59.816][request][INFO] PUT /api/ciphers/0d673397-9bca-4bd4-b5ad-a51f8456813d/collections_v2 [2024-06-20 13:15:59.816][response][INFO] 404 Not Found ```
GiteaMirror added the enhancementhelp wantedfuture Vault labels 2026-03-07 20:30:57 -06:00
Author
Owner

@BlackDex commented on GitHub (Jun 27, 2024):

We are currently missing that endpoint and it is also needed for newer web-vaults.

@BlackDex commented on GitHub (Jun 27, 2024): We are currently missing that endpoint and it is also needed for newer web-vaults.
Author
Owner

@tessus commented on GitHub (Jul 7, 2024):

the endpoint has been added, so I think you can close this issue.

@tessus commented on GitHub (Jul 7, 2024): the endpoint has been added, so I think you can close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#5592