# Import Error: about.json does not exist, or is invalid

**URL:** https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148
**Category:** Development
**Created:** [November 15, 2021, 10:35am UTC](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148 "2021-11-15T10:35:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ovanderzee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ovanderzee/32/240058_2.png) [@ovanderzee](https://meta.discourse.org/u/ovanderzee)
#### Post date: [November 15, 2021, 10:35am UTC](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148/1 "2021-11-15T10:35:25Z")

</div>

I am developing a theme component and I want to put it under version control.  
I started off in the editor at /admin/customize/themes. I exported the edits and put the files in git in a dedicated src folder. Then I compressed the src folder using apple’s build in context menu. When I tried to install with “Form my device” I get this:

```
Import Error: about.json does not exist, or is invalid. Are you sure this is a Discourse Theme?

```

I included but did not change the about.json. When I unzip i see the same file-folder structure as in the export.

I tried quoting the null values and leaving out the properties with the null values. Still the same error message.

What can i do?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [November 15, 2021, 10:54am UTC](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148/2 "2021-11-15T10:54:22Z")

</div>

I suspect you compressed the folder including the folder name itself.

But if you want to put your theme component under version control then you should not reupload it. You should install it “From a Git repository” or even (much) better: use the [Discourse Theme CLI console app](https://meta.discourse.org/t/discourse-theme-cli-console-app-to-help-you-build-themes/82950) to sync changes.

---

<div class="post-metadata">

### Author: ![ovanderzee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ovanderzee/32/240058_2.png) [@ovanderzee](https://meta.discourse.org/u/ovanderzee)
#### Post date: [November 15, 2021, 11:03am UTC](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148/3 "2021-11-15T11:03:20Z")

</div>

> [@RGJ](#):
>
> compressed the folder including the folder name itself.

Indeed, when compressing the items in the folder, it works.

Thanks Richard!

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 5, 2025, 5:00pm UTC](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148/4 "2025-12-05T17:00:34Z")

</div>


