mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
error when moving item to vault "Organization mismatch. Please resync the client before updating the cipher" #755
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @catdevnull on GitHub.
Subject of the issue
when trying to add an item to a new organization, an error that says "Organization mismatch. Please resync the client before updating the cipher" appears (like #346)
even after restarting, the same thing happens
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, ADMIN_TOKEN
Install method: Docker
Clients used: Web vault
Reverse proxy and version: Caddy 2
Steps to reproduce
Expected behaviour
it works
Actual behaviour
it shows this error
Troubleshooting data
@catdevnull commented on GitHub:
well, the organizationId does appear to match.
i guess this is what's going wrong. why is it not possible? sounds like a bug
@BlackDex commented on GitHub:
According to the error the UUID of the organization is not valid compared to the data posted.
Try to use the Browsers Dev Console (F12) and see if the Posted data, and then in particular the
organizationIdin theciphertree if that matches or is correct with the organization uuid you want it to move to.It seems to actually say that the specific cipher already is assigned to an other organization. And moving from one org to an other is not possible.
Not sure how that cipher which is in your own vault is registered in the database, but that should then contain an org uuid already. And that is what makes it break currently.
I just tried the steps, and it works just fine for me.
@BlackDex commented on GitHub:
Have you tried to logout and login again?
@BlackDex commented on GitHub:
Moving from one org to an other isn't possible at all. I think you are trying to use the
selectablemenu at the top right to just move one (or more) item(s). That will only work for personal items, not for other organizational items.You need to clone the items instead of moving them.
So, this is by design.
@catdevnull commented on GitHub:
yes, the same error appears.