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/AdminConsole/Controllers/OrganizationUsersController.cs:187

        _adminRecoverAccountCommand = adminRecoverAccountCommand;
        _selfRevokeOrganizationUserCommand = selfRevokeOrganizationUserCommand;
        _updateUserResetPasswordEnrollmentCommand = updateUserResetPasswordEnrollmentCommand;
        _acceptOrganizationInviteLinkCommand = acceptOrganizationInviteLinkCommand;
        _confirmOrganizationInviteLinkCommand = confirmOrganizationInviteLinkCommand;
        _getOrganizationInviteCommand = getOrganizationInviteCommand;
        _featureService = featureService;
        _updateOrganizationUserCommandVNext = updateOrganizationUserCommandVNext;
        _globalSettings = globalSettings;
    }

    [HttpGet("{id}")]
    [Authorize<ManageUsersRequirement>]
    public async Task<OrganizationUserDetailsResponseModel> Get(Guid orgId, Guid id, bool includeGroups = false)
    {
        var (organizationUser, collections) = await _organizationUserRepository.GetDetailsByIdWithSharedCollectionsAsync(id);
        if (organizationUser == null || organizationUser.OrganizationId != orgId)
        {
            throw new NotFoundException();
        }

        var claimedByOrganizationStatus = await GetClaimedByOrganizationStatusAsync(
            organizationUser.OrganizationId,
            [organizationUser.Id]);

        var response = new OrganizationUserDetailsResponseModel(organizationUser, claimedByOrganizationStatus[organizationUser.Id], collections);

        if (includeGroups)
        {
            response.Groups = await _groupRepository.GetManyIdsByUserIdAsync(organizationUser.Id);
        }

        return response;
    }

    /// <summary>
    /// Returns a set of basic information about all members of the organization. This is available to all members

View on GitHub (pinned to e93b962371)

Solutions

  1. Confirm the user ID or organization user ID in the request still exists; list organization members to get current IDs.
  2. If the member was removed, re-invite them before retrying the operation.
  3. Re-sync the client to clear stale member references.

When it happens

Trigger: Thrown in OrganizationUsersController when the organization user targeted by the request cannot be found, e.g., an invalid organization user ID or a user that has already been removed.

Common situations: See trigger scenarios.


AI-assisted analysis of bitwarden/server@e93b962371 (2026-08-13). Data as JSON: /api/errors/2b63f2bfc3bcfe09. Report an issue: GitHub.