bitwarden / sdk

Bitwarden Secrets Manager SDK
Other
265 stars 49 forks source link

`bws secret list` unhandled error #941

Open Araxeus opened 3 months ago

Araxeus commented 3 months ago

Steps To Reproduce

  1. Be on an authenticated machine, that has access to no secrets
  2. run bws secret list

Expected Result

Friendly message that there are no accessible secrets, and maybe how can I add access

Actual Result

Error:
   0: Received error message from server: [404 Not Found] {"message":"Resource not found.","validationErrors":null,"exceptionMessage":null,"exceptionStackTrace":null,"innerExceptionMessage":null,"object":"error"}

Location:
   crates\bws\src\main.rs:468

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Screenshots or Videos

image

Additional Context

No response

Operating System

Windows

Operating System Version

No response

Shell

PowerShell

Build Version

bws 0.5.0

Issue Tracking Info

trjohnson19 commented 3 months ago

Identical message was received using

Operating System

Linux

Operating System Version

Fedora Linux 39.20240811.0 (Silverblue)

Shell

Bash

Build Version

(Docker) bws 0.5.0