{"record":{"id":"2b63f2bfc3bcfe09","repo":"bitwarden/server","slug":"resource-not-found-2b63f2","errorCode":null,"errorMessage":"Resource not found.","messagePattern":"Resource not found\\.","errorType":"http","errorClass":"NotFoundException","httpStatus":404,"severity":"error","filePath":"src/Api/AdminConsole/Controllers/OrganizationUsersController.cs","lineNumber":187,"sourceCode":"        _adminRecoverAccountCommand = adminRecoverAccountCommand;\n        _selfRevokeOrganizationUserCommand = selfRevokeOrganizationUserCommand;\n        _updateUserResetPasswordEnrollmentCommand = updateUserResetPasswordEnrollmentCommand;\n        _acceptOrganizationInviteLinkCommand = acceptOrganizationInviteLinkCommand;\n        _confirmOrganizationInviteLinkCommand = confirmOrganizationInviteLinkCommand;\n        _getOrganizationInviteCommand = getOrganizationInviteCommand;\n        _featureService = featureService;\n        _updateOrganizationUserCommandVNext = updateOrganizationUserCommandVNext;\n        _globalSettings = globalSettings;\n    }\n\n    [HttpGet(\"{id}\")]\n    [Authorize<ManageUsersRequirement>]\n    public async Task<OrganizationUserDetailsResponseModel> Get(Guid orgId, Guid id, bool includeGroups = false)\n    {\n        var (organizationUser, collections) = await _organizationUserRepository.GetDetailsByIdWithSharedCollectionsAsync(id);\n        if (organizationUser == null || organizationUser.OrganizationId != orgId)\n        {\n            throw new NotFoundException();\n        }\n\n        var claimedByOrganizationStatus = await GetClaimedByOrganizationStatusAsync(\n            organizationUser.OrganizationId,\n            [organizationUser.Id]);\n\n        var response = new OrganizationUserDetailsResponseModel(organizationUser, claimedByOrganizationStatus[organizationUser.Id], collections);\n\n        if (includeGroups)\n        {\n            response.Groups = await _groupRepository.GetManyIdsByUserIdAsync(organizationUser.Id);\n        }\n\n        return response;\n    }\n\n    /// <summary>\n    /// Returns a set of basic information about all members of the organization. This is available to all members","sourceCodeStart":169,"sourceCodeEnd":205,"githubUrl":"https://github.com/bitwarden/server/blob/e93b962371d80964556f5590c6615f5160a437a1/src/Api/AdminConsole/Controllers/OrganizationUsersController.cs#L169-L205","documentation":"Error \"Resource not found.\" thrown in bitwarden/server.","triggerScenarios":"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.","commonSituations":"See trigger scenarios.","solutions":["Confirm the user ID or organization user ID in the request still exists; list organization members to get current IDs.","If the member was removed, re-invite them before retrying the operation.","Re-sync the client to clear stale member references."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e93b962371d80964556f5590c6615f5160a437a1","analyzedAt":"2026-08-13T14:22:19.382Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}