# Can't upload theme from file

**URL:** <https://meta.discourse.org/t/cant-upload-theme-from-file/73376>\
**Category:** Bug\
**Created:** [3 Noviembre, 2017 18:09 UTC](https://meta.discourse.org/t/cant-upload-theme-from-file/73376 "2017-11-03T18:09:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [3 Noviembre, 2017 20:54 UTC](https://meta.discourse.org/t/cant-upload-theme-from-file/73376/4 "2017-11-03T20:54:08Z")

</div>

Well here’s an error log:

```plaintext
  Parameters: {"theme"=>#<ActionDispatch::Http::UploadedFile:0x00007fc32bc88958 @tempfile=#<Tempfile:/tmp/RackMultipart20171103-338-1gjeut6.json>, @original_filename="mrf-tweaks.dcstyle.json", @content_type="application/json", @headers="Content-Disposition: form-data; name=\"theme\"; filename=\"mrf-tweaks.dcstyle.json\"\r\nContent-Type: application/json\r\n">}
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms)
RuntimeError (Unknown type passed to set field)
/var/www/discourse/app/models/theme.rb:253:in `set_field'

```

This is strange because I downloaded this file from this very same server before uploading a new import.

---

_[View the full topic](https://meta.discourse.org/t/cant-upload-theme-from-file/73376)._
