# Upload not working in encrypted private message?

**URL:** https://meta.discourse.org/t/upload-not-working-in-encrypted-private-message/215431
**Category:** Support
**Tags:** encrypt
**Created:** [January 20, 2022, 10:38am UTC](https://meta.discourse.org/t/upload-not-working-in-encrypted-private-message/215431 "2022-01-20T10:38:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [January 20, 2022, 10:38am UTC](https://meta.discourse.org/t/upload-not-working-in-encrypted-private-message/215431/1 "2022-01-20T10:38:21Z")

</div>

Hello,

I am testing the [Discourse Encrypt](https://meta.discourse.org/t/discourse-encrypt-for-private-messages/107918) plugin and I notice every time I try to upload an image in the encrypted PM then I’ve got the following error popup message:  
`Sorry, but we couldn't determine the size of the image. Maybe your image is corrupted?` and the upload fail. Do I missed something?

Thank you! 🙂

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [February 8, 2022, 10:13am UTC](https://meta.discourse.org/t/upload-not-working-in-encrypted-private-message/215431/3 "2022-02-08T10:13:43Z")

</div>

Hello! 👋

There were some changes in the uploads pipeline in core and this was an incompatibility with the new one. I just [fixed](https://github.com/discourse/discourse-encrypt/pull/169) the bug and everything should work well now.

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [March 10, 2022, 10:14am UTC](https://meta.discourse.org/t/upload-not-working-in-encrypted-private-message/215431/4 "2022-03-10T10:14:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
