# Tiny MCE theme.min.js files forbidden from cli upload

**URL:** <https://community.hubspot.com/t/tiny-mce-theme-min-js-files-forbidden-from-cli-upload/24406>\
**Category:** CMS Development\
**Tags:** local-development, javascript\
**Created:** [August 19, 2020, 10:59pm UTC](https://community.hubspot.com/t/tiny-mce-theme-min-js-files-forbidden-from-cli-upload/24406 "2020-08-19T22:59:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidFJones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/davidfjones/32/75439_2.png) [@DavidFJones](https://community.hubspot.com/u/DavidFJones)\
**Post date:** [August 19, 2020, 10:59pm UTC](https://community.hubspot.com/t/tiny-mce-theme-min-js-files-forbidden-from-cli-upload/24406/1 "2020-08-19T22:59:21Z")

</div>

Hey everyone,  
I’m developing a theme that requires some wysiwyg editors on screen for the user and was wanting to use Tiny MCE. I have attempted to use the upload command to upload my folder for version 5.4.2 but two of the files will not upload.  
These are:

tinymce\js\tinymce\themes\mobile\theme.min.js

tinymce\js\tinymce\themes\silver\theme.min.js  
Both of these files throw the following error in my terminal

`Unable to upload "js\lib\tinymce\js\tinymce\themes\silver\theme.min.js". The post to "/js/tinymce/themes/silver/theme.min.js" in portal xxxxxxx was forbidden.`

When I ran the upload command everything else within the tinymce folder uploaded and is now accessible from within the theme folder.

---

<div class="post-metadata">

**Author:** ![natsumimori](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/natsumimori/32/39807_2.png) [@natsumimori](https://community.hubspot.com/u/natsumimori)\
**Post date:** [August 24, 2020, 2:42am UTC](https://community.hubspot.com/t/tiny-mce-theme-min-js-files-forbidden-from-cli-upload/24406/2 "2020-08-24T02:42:14Z")

</div>

I will tag in @tjoyce and @stefen here.

Could you share your knowlede for @DavidFJones ?

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [August 24, 2020, 8:02am UTC](https://community.hubspot.com/t/tiny-mce-theme-min-js-files-forbidden-from-cli-upload/24406/3 "2020-08-24T08:02:35Z")

</div>

@DavidFJones - just as a test could you do the following

1. remove “.min” from the filename and try uploading

2. remove the content of one of the files and replace it with a simple console.log statement and see if you can successfully upload?

This will just help us narrow down the reason for the error
