bitwarden/server · error · NotFoundException
Resource not found.
Error message
Resource not found.
What it means
Error "Resource not found." thrown in bitwarden/server.
Source
Thrown at src/Api/Vault/Controllers/CiphersController.cs:1232
var userId = _userService.GetProperUserId(User).Value;
await _cipherService.MoveManyAsync(model.Ids.Select(i => new Guid(i)),
string.IsNullOrWhiteSpace(model.FolderId) ? (Guid?)null : new Guid(model.FolderId), userId);
}
[HttpPost("move")]
[Obsolete("This endpoint is deprecated. Use PUT method instead.")]
public async Task PostMoveMany([FromBody] CipherBulkMoveRequestModel model)
{
await MoveMany(model);
}
[HttpPut("share")]
public async Task<ListResponseModel<CipherMiniResponseModel>> PutShareMany([FromBody] CipherBulkShareRequestModel model)
{
var organizationId = new Guid(model.Ciphers.First().OrganizationId);
if (!await _currentContext.OrganizationUser(organizationId))
{
throw new NotFoundException();
}
var userId = _userService.GetProperUserId(User).Value;
var ciphers = await _cipherRepository.GetManyByUserIdAsync(userId, withOrganizations: false);
var ciphersDict = ciphers.ToDictionary(c => c.Id);
// Validate the model was encrypted for the posting user
foreach (var cipher in model.Ciphers)
{
if (cipher.EncryptedFor.HasValue && cipher.EncryptedFor.Value != userId)
{
_logger.LogError("Cipher was not encrypted for the current user. CipherId: {CipherId}, CurrentUser: {CurrentUserId}, EncryptedFor: {EncryptedFor}", cipher.Id, userId, cipher.EncryptedFor);
throw new BadRequestException("Cipher was not encrypted for the current user. Please try again.");
}
}
var shareCiphers = new List<(CipherDetails, DateTime?)>();View on GitHub (pinned to e93b962371)
Solutions
- Re-sync the vault to clear references to deleted items, then retry.
- Verify the cipher or folder ID in the request exists via a list/sync call before operating on it.
When it happens
Trigger: Thrown in CiphersController when the cipher referenced by the request cannot be found or is not accessible to the current user.
Common situations: See trigger scenarios.
AI-assisted analysis of bitwarden/server@e93b962371 (2026-08-13).
Data as JSON: /api/errors/e0e5852f1d50cc97.
Report an issue: GitHub.