mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #3770] error when moving item to vault "Organization mismatch. Please resync the client before updating the cipher" #1664
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1664
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 (Aug 13, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3770
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
@BlackDex commented on GitHub (Aug 13, 2023):
Have you tried to logout and login again?
@catdevnull commented on GitHub (Aug 13, 2023):
yes, the same error appears.
@BlackDex commented on GitHub (Aug 13, 2023):
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.
@catdevnull commented on GitHub (Aug 13, 2023):
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 (Aug 13, 2023):
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.