500 error on "Organization Members" page (v1.34.2, Kubernetes) #321

Closed
opened 2026-04-05 20:53:45 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Mohamed4900 on 10/21/2025

Prerequisites

Vaultwarden Support String

the server returns a 404 error

Vaultwarden Build Version

1.34.2

Deployment method

Official Container Image

Custom deployment method

No response

Reverse Proxy

nginx 4.12.1

Host/Server Operating System

Linux

Operating System Version

Amazon

Clients

Web Vault

Client Version

v2025.7.0

Steps To Reproduce

  1. Log in as an organization admin

  2. Go to the "Organization Members" page

  3. A 500 error is returned and the page does not load

Expected Result

The Organization Members page should display the list of members without errors.

Actual Result

When accessing the Organization Members page, the server returns a 500 error and the page fails to load.

Logs

[2025-09-25 15:10:05.943][panic][ERROR] thread 'rocket-worker-thread' panicked at 'called Option::unwrap() on a None value': src/db/models/organization.rs:497  
0: vaultwarden::init_logging::{{closure}}  
1: std::panicking::rust_panic_with_hook  
2: std::panicking::begin_panic_handler::{{closure}}  
3: std::sys::backtrace::__rust_end_short_backtrace  
4: __rustc::rust_begin_unwind  
5: core::panicking::panic_fmt  
6: core::panicking::panic  
7: core::option::unwrap_failed  
8: vaultwarden::db::models::organization::Membership::to_json_user_details::{{closure}}  
9: vaultwarden::api::core::organizations::get_members::into_info::monomorphized_function::{{closure}}  
10: rocket::server::<impl rocket::rkt::Rocket<rocket::phase::Orbit>>::route::{{closure}}  
11: rocket::server::hyper_service_fn::{{closure}}::{{closure}}  
12: tokio::runtime::task::raw::poll  
13: tokio::runtime::scheduler::multi_thread::worker::Context::run_task  
14: tokio::runtime::scheduler::multi_thread::worker::run  
15: tokio::runtime::task::raw::poll  
16: std::sys::backtrace::__rust_begin_short_backtrace  
17: core::ops::function::FnOnce::call_once{{vtable.shim}}  
18: std::sys::pal::unix::thread::Thread::new::thread_start  
19: <unknown>  
20: <unknown>

Screenshots or Videos

No response

Additional Context

Hello,
When I go to the "Organization Members" page,
I get an error 500: "Failed to load resource: the server responded with a status of 500 ()"

Thanks

*Originally created by @Mohamed4900 on 10/21/2025* ### Prerequisites - [x] I have searched the existing **Closed _AND_ Open** [Issues](https://github.com/dani-garcia/vaultwarden/issues?q=is%3Aissue%20) **_AND_** [Discussions](https://github.com/dani-garcia/vaultwarden/discussions?discussions_q=) - [x] I have searched and read the [documentation](https://github.com/dani-garcia/vaultwarden/wiki/) ### Vaultwarden Support String the server returns a 404 error ### Vaultwarden Build Version 1.34.2 ### Deployment method Official Container Image ### Custom deployment method _No response_ ### Reverse Proxy nginx 4.12.1 ### Host/Server Operating System Linux ### Operating System Version Amazon ### Clients Web Vault ### Client Version v2025.7.0 ### Steps To Reproduce 1. Log in as an organization admin 1. Go to the "Organization Members" page 1. A 500 error is returned and the page does not load ### Expected Result The Organization Members page should display the list of members without errors. ### Actual Result When accessing the Organization Members page, the server returns a 500 error and the page fails to load. ### Logs ```text [2025-09-25 15:10:05.943][panic][ERROR] thread 'rocket-worker-thread' panicked at 'called Option::unwrap() on a None value': src/db/models/organization.rs:497 0: vaultwarden::init_logging::{{closure}} 1: std::panicking::rust_panic_with_hook 2: std::panicking::begin_panic_handler::{{closure}} 3: std::sys::backtrace::__rust_end_short_backtrace 4: __rustc::rust_begin_unwind 5: core::panicking::panic_fmt 6: core::panicking::panic 7: core::option::unwrap_failed 8: vaultwarden::db::models::organization::Membership::to_json_user_details::{{closure}} 9: vaultwarden::api::core::organizations::get_members::into_info::monomorphized_function::{{closure}} 10: rocket::server::<impl rocket::rkt::Rocket<rocket::phase::Orbit>>::route::{{closure}} 11: rocket::server::hyper_service_fn::{{closure}}::{{closure}} 12: tokio::runtime::task::raw::poll 13: tokio::runtime::scheduler::multi_thread::worker::Context::run_task 14: tokio::runtime::scheduler::multi_thread::worker::run 15: tokio::runtime::task::raw::poll 16: std::sys::backtrace::__rust_begin_short_backtrace 17: core::ops::function::FnOnce::call_once{{vtable.shim}} 18: std::sys::pal::unix::thread::Thread::new::thread_start 19: <unknown> 20: <unknown> ``` ### Screenshots or Videos _No response_ ### Additional Context Hello, When I go to the "Organization Members" page, I get an error 500: "Failed to load resource: the server responded with a status of 500 ()" Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#321