Cannot import data to organization #2170

Closed
opened 2026-02-05 03:30:17 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @SegUun on GitHub (Feb 1, 2025).

Vaultwarden Support String

I had troubles with vaultwarden and bitwarden mobile app like in other issue https://vaultwarden.discourse.group/t/recently-android-app-will-no-longer-work-with-my-server/4241/9. But my problem been in organizations. Maybe my org contained some broken stuff? (ssh-keys, too long notes, cyrillic symbols?). However i fixed mobile app with vault wipe of organization. And i backupped data before wiping and now can't import data back with error "Unknown cipher type." (backup is been not encrypted).

Vaultwarden Build Version

1.33.0

Deployment method

Official Container Image

Custom deployment method

No response

Reverse Proxy

nginx:latest

Host/Server Operating System

Linux

Operating System Version

Alma Linux 9.5

Clients

Android

Client Version

2025.1.0

Steps To Reproduce

  1. Create organization
  2. Create some objects like ssh-keys, logins, long notes.
  3. Try to connect by android app

Expected Result

Synced organization vault and personal vault.

Actual Result

"We were unable to process your request. Please try again or contact us"

Logs

Logs doesn't have errors

Screenshots or Videos

No response

Additional Context

No response

Originally created by @SegUun on GitHub (Feb 1, 2025). ### Vaultwarden Support String I had troubles with vaultwarden and bitwarden mobile app like in other issue https://vaultwarden.discourse.group/t/recently-android-app-will-no-longer-work-with-my-server/4241/9. But my problem been in organizations. Maybe my org contained some broken stuff? (ssh-keys, too long notes, cyrillic symbols?). However i fixed mobile app with vault wipe of organization. And i backupped data before wiping and now can't import data back with error "Unknown cipher type." (backup is been not encrypted). ### Vaultwarden Build Version 1.33.0 ### Deployment method Official Container Image ### Custom deployment method _No response_ ### Reverse Proxy nginx:latest ### Host/Server Operating System Linux ### Operating System Version Alma Linux 9.5 ### Clients Android ### Client Version 2025.1.0 ### Steps To Reproduce 1. Create organization 2. Create some objects like ssh-keys, logins, long notes. 3. Try to connect by android app ### Expected Result Synced organization vault and personal vault. ### Actual Result "We were unable to process your request. Please try again or contact us" ### Logs ```text Logs doesn't have errors ``` ### Screenshots or Videos _No response_ ### Additional Context _No response_
OVERLORD added the bug label 2026-02-05 03:30:17 +03:00
Author
Owner

@SegUun commented on GitHub (Feb 1, 2025):

I catch a rat.

{
      "passwordHistory": null,
      "revisionDate": "2025-01-14T12:58:23.685Z",
      "creationDate": "2025-01-14T12:56:45.579Z",
      "deletedDate": null,
      "id": "hidden",
      "organizationId": "hidden",
      "folderId": null,
      "type": 5,
      "reprompt": 0,
      "name": "hidden",
      "notes": null,
      "favorite": false,
      "sshKey": {
        "privateKey": null,
        "publicKey": null,
        "keyFingerprint": null
      },
      "collectionIds": [
        "hidden"
      ]
    }

Items like that breaks an organization vault.

@SegUun commented on GitHub (Feb 1, 2025): I catch a rat. ``` { "passwordHistory": null, "revisionDate": "2025-01-14T12:58:23.685Z", "creationDate": "2025-01-14T12:56:45.579Z", "deletedDate": null, "id": "hidden", "organizationId": "hidden", "folderId": null, "type": 5, "reprompt": 0, "name": "hidden", "notes": null, "favorite": false, "sshKey": { "privateKey": null, "publicKey": null, "keyFingerprint": null }, "collectionIds": [ "hidden" ] } ``` Items like that breaks an organization vault.
Author
Owner

@BlackDex commented on GitHub (Feb 1, 2025):

So, where did you got this result from?
Since that is not a fully valid JSON vault item object at all.
Not sure if you removed key's/fields here?

But if any item of the sshKey like privateKey, publicKey and keyFingerprint are null it will not send those keys at all, and make sshKey null.

Which for me, works just fine on all clients. Except the mobile client can crash if you try to open such an item though, but you can delete that item still, and it's better then not returning it all.

So, you are either not actually running v1.33.0, or something else is strangely wrong.

@BlackDex commented on GitHub (Feb 1, 2025): So, where did you got this result from? Since that is not a fully valid JSON vault item object at all. Not sure if you removed key's/fields here? But if any item of the `sshKey` like `privateKey`, `publicKey` and `keyFingerprint` are `null` it will not send those keys at all, and make `sshKey` `null`. Which for me, works just fine on all clients. Except the mobile client can crash if you try to open such an item though, but you can delete that item still, and it's better then not returning it all. So, you are either not actually running v1.33.0, or something else is strangely wrong.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#2170