Skip to content

File attachment upload fails desktop / browser / ios app. "An Error has occured." #14160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
matthlsile opened this issue Apr 7, 2025 · 16 comments
Open
1 task done
Labels
bug desktop Desktop Application

Comments

@matthlsile
Copy link

matthlsile commented Apr 7, 2025

Steps To Reproduce

  1. Go to 'Edit' in an login item.
  2. Scroll down / Click on 'Attachments'
  3. Select File (14 kB .pfx certificate file in my case.)
  4. Click on 'Save'

Expected Result

File get's uploaded as an attachment after clicking on save.

Actual Result

Red Error card with Error: "An error has occured. An unhandled server error has occured."
File doesn't get uploaded properly.

Screenshots or Videos

No response

Additional Context

Files also can't be uploaded in browser extension (Firefox, Safari and Chrome tested), iOS Bitwarden and in Webvault on bitwarden.com. No error messages there, though.

Operating System

Windows, macOS

Operating System Version

Windows 11 23h2, iOS 18.4, macOS ?

Installation method

Direct Download (from bitwarden.com)

Build Version

2025.3.0

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@matthlsile matthlsile added bug desktop Desktop Application labels Apr 7, 2025
@S-Kakar
Copy link

S-Kakar commented Apr 7, 2025

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-19935

@matthlsile matthlsile changed the title File attatchment upload fails desktop / browser / ios app. "An Error has occured." File attachment upload fails desktop / browser / ios app. "An Error has occured." Apr 8, 2025
@geekitude
Copy link

Hi
Deleted an attachment from an ID element to upload a new one. Lost all the attachment on that ID (about 6 or 8 files) and can't add a single one with same error as above.

@SohamBhattacharya
Copy link

Hi, still facing the same error (v2025.3.0 snap).

@rmcdowell-bitwarden
Copy link
Collaborator

Hi there,

Thank you for your report!

I was able to reproduce this issue, and I have flagged this to our engineering team.

I did want to note that this may be caching related, I had tested this on different clients and saw that when I logged in to a new client (in my case the Bitwarden web interface in an incognito/private browsing window) I was able to view those attachments that I had attempted to upload but received an error or appeared to be uploaded unsuccessfully.

@geekitude your behavior matches the issue that is open here: #14150

@matthlsile you mentioned this in the above GitHub issue, I believe these behaviors may be related, but in the case that they are separate issues I will be leaving this issue open as well so we can track reports of both of these issues separately.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!

@geekitude
Copy link

@rmcdowell-bitwarden, thanks for pointing me to the right issue

@arpanrec
Copy link

I am a long-time bitwarden family plan user. I think this issue is kind of priority. There is something very wrong going on right now. this behavior of the attachments is blocking me from taking a backup of my valut, which is very scary.

Image

The attachment shows up in CLI but i am unable to download them from CLI.

subprocess.TimeoutExpired: Command '['bw', 'get', 'attachment', 'r2q53vpynoeflmp8kw1m5jx0vcfjxds5', '--itemid', '88f162b3-1018-4d2e-8f75-af88008652fb', '--output', '/home/arpan/workspace/bitwarden_dump_attachments/88f162b3-1018-4d2e-8f75-af88008652fb/r2q53vpynoeflmp8kw1m5jx0vcfjxds5']' timed out after 10 seconds

@mrkdilkington
Copy link

mrkdilkington commented Apr 10, 2025

I'm getting an error when uploading on MacOS (chrome browser and chrome extension) and iOS App. In dev tools it says it's an HTTP 500 error. Please fix this asap!

@Loggsie
Copy link

Loggsie commented Apr 10, 2025

I'm getting an error when uploading on MacOS (chrome browser and chrome extension) and iOS App. In dev tools it says it's an HTTP 500 error. Please fix this asap!

I'm affected on all platforms too as well as the web vault. With a HTTP 500 error it is likely a database connection and/or write issue.

At least from the error we can deduce it's a server side fault and not client side.

@peterswirl
Copy link

This is a serious blocker for us. This is core functionality in the Bitwarden product. We may be a start up, Bitwarden is not. I certainly hope this is addressed very quickly because this is a serious problem that never should've made it into production.

@spawnz0
Copy link

spawnz0 commented Apr 11, 2025

Same issue. This is an absolutely CRITICAL ISSUE. The Bitwarden Service Health should NOT show healthy. IT SHOULD BE RED AND DOWN. Literally WE AS PAYING SUBSCRIBERS CANNOT UPLOAD FILES AND USE THE SERVICE.

@Qerdo97
Copy link

Qerdo97 commented Apr 14, 2025

Confirming issue, on both Web UI and CLI. HTTP Error 500

Image

Image

@peterswirl
Copy link

There was a release of the Macintosh native client today. It continues to have the problem. Because of the different context of the problem it seems pretty obvious that this is a backend issue.

@arpanrec
Copy link

#14150 (comment)

This issue comment is also true for this issue.

@tedledbetter
Copy link

This is happening to me as well. Tried deleting an attachment, all files disappeared. Now 500 error on trying to add any.

@FakeJoe
Copy link

FakeJoe commented Apr 16, 2025

Same issue. Such a critical issue is blocking me from doing my job

@Loggsie
Copy link

Loggsie commented Apr 16, 2025

I'd be interested to know if Linux Unified (Beta) self hosted is affected? I'm considering porting out until things stabilise again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application
Projects
None yet
Development

No branches or pull requests