# Cannot send \*.cdr files

**URL:** <https://forums.rocket.chat/t/cannot-send-cdr-files/12093>\
**Category:** Community Support\
**Created:** [September 6, 2021, 8:10am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093 "2021-09-06T08:10:07Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoonWolf](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/moonwolf/32/3100_2.png) [@MoonWolf](https://forums.rocket.chat/u/MoonWolf)\
**Post date:** [September 6, 2021, 8:10am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/1 "2021-09-06T08:10:07Z")

</div>

### Description

After upgrade to 3.18.0 we are unable to send \*.cdr files - it fails with “Media Type Not Accepted: undefined” error. We do not block any types of media (even SVG). How can i allow undefined media or make rocket chat recognize cdr files?

### Server Setup Information

- Version of Rocket.Chat Server: 3.18.0
- Operating System: CentOS Linux
- Deployment Method: tar
- Number of Running Instances: 1

---

<div class="post-metadata">

**Author:** ![sing.li](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/sing.li/32/6_2.png) [@sing.li](https://forums.rocket.chat/u/sing.li)\
**Post date:** [September 6, 2021, 4:38pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/2 "2021-09-06T16:38:10Z")

</div>

Welcome @MoonWolf !

Are those Corel Draw files? It is not easy for any of us to generate those files. Might you be able to upload a couple of small samples?

---

<div class="post-metadata">

**Author:** ![Alexande](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Alexande](https://forums.rocket.chat/u/Alexande)\
**Post date:** [September 7, 2021, 8:04am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/3 "2021-09-07T08:04:46Z")

</div>

Confirm. After updating to version 3.18.0, a similar problem appeared. This type of media : undefined. The problem appears with extensions of various non-common types. CorelDRAW , Autocad, SolidWorks, .reg, and others. on version 3.17.2, it worked without problems.

---

<div class="post-metadata">

**Author:** ![Alexande](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Alexande](https://forums.rocket.chat/u/Alexande)\
**Post date:** [September 8, 2021, 5:37pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/4 "2021-09-08T17:37:09Z")

</div>

Please, dear developers, pay attention to this problem, everything worked exactly on 3.17.2. There was a problem after updating to version 3.18.0. I wanted to make a downgrade from 3.18.0 to. 3. 17. 2, but it didn’t work out . The application writes active in the services, but instead of a chat, I get an Nginx window. Instructions [Updating - Rocket.Chat Docs](https://docs.rocket.chat/installing-and-updating/manual-installation/updating) from here. In the curl-L line [https://releases.rocket.chat/latest/download](https://releases.rocket.chat/latest/download) -o /tmp/socket. chat. tgz I write 3.17.2 instead of latest, but it doesn’t work. What am I doing wrong? At the moment, I have 2 ways, either wait for an update with a fixed download problem or downgrade to version 3.17.2, when everything worked. Help! Sorry, bad translate, am Russian)

---

<div class="post-metadata">

**Author:** ![MoonWolf](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/moonwolf/32/3100_2.png) [@MoonWolf](https://forums.rocket.chat/u/MoonWolf)\
**Post date:** [September 9, 2021, 12:49pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/5 "2021-09-09T12:49:42Z")

</div>

Hello all

Yes, those are Corel Draw files. Sorry, but I don’t know how to upload them here (cdr files are not authorized).

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [September 9, 2021, 4:49pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/6 "2021-09-09T16:49:36Z")

</div>

It almost certainly never will work with a downgrade.

There are often changes to the database structure between versions so your only recourse is to your latest backup and restore from there.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [September 9, 2021, 4:51pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/7 "2021-09-09T16:51:19Z")

</div>

Just paste a google docs, dropbox or other type of link.

You might be able to rename it to say “MyCDRFile.cdr.txt” and upload but I am not sure.

---

<div class="post-metadata">

**Author:** ![MoonWolf](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/moonwolf/32/3100_2.png) [@MoonWolf](https://forums.rocket.chat/u/MoonWolf)\
**Post date:** [September 10, 2021, 12:16pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/8 "2021-09-10T12:16:59Z")

</div>

I’ve sent two example files here: [Gofile - Free file sharing and storage platform](https://gofile.io/d/zZEJaj).

---

<div class="post-metadata">

**Author:** ![Alexande](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Alexande](https://forums.rocket.chat/u/Alexande)\
**Post date:** [September 27, 2021, 8:33am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/9 "2021-09-27T08:33:35Z")

</div>

did you manage to fix it somehow?

---

<div class="post-metadata">

**Author:** ![MoonWolf](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/moonwolf/32/3100_2.png) [@MoonWolf](https://forums.rocket.chat/u/MoonWolf)\
**Post date:** [October 5, 2021, 11:23am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/10 "2021-10-05T11:23:48Z")

</div>

Still waiting for devs to fix it. And as I still don’t know how LDAP will behave in 4.0 in our case, I’m looking for an alternatives, so this issue isn’t a high priority now.

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [October 5, 2021, 10:09pm UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/11 "2021-10-05T22:09:58Z")

</div>

Hi, I have a cdr file here, and when trying to guess the mimetype, it shows:

$ file --mime-type ‘file.cdr’  
file.cdr: application/zip

it’s also the same mime type of a proper .zip file

I was able to upload the .zip file, but not the .cdr file (using 4.0.0, test at 3.18.1 and same results)

I think this is more at the interface level. There were no server calls at all (rest nor websocket)

One thing to note:  
I added image/jpeg to the forbidden upload mimes, and it successfully showed it was not allowed.

When I tried the .cdr file, it gives a toast message with undefined mimetype:

Tipo de Mídia não aceito: undefined

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [October 6, 2021, 8:11am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/12 "2021-10-06T08:11:04Z")

</div>

Sing had some comments on this in a channel on open - have a word with him about it.

---

<div class="post-metadata">

**Author:** ![Alexande](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Alexande](https://forums.rocket.chat/u/Alexande)\
**Post date:** [October 8, 2021, 7:15am UTC](https://forums.rocket.chat/t/cannot-send-cdr-files/12093/13 "2021-10-08T07:15:34Z")

</div>

Please write how you will be able to solve this problem and unsubscribe the solution to this topic. I’m really looking forward to the decision. Thanks.
