# Unable to switch extension from unlisted to listed via API

**URL:** <https://discourse.mozilla.org/t/unable-to-switch-extension-from-unlisted-to-listed-via-api/73375>\
**Category:** addons.mozilla.org\
**Created:** [January 6, 2021, 11:15pm UTC](https://discourse.mozilla.org/t/unable-to-switch-extension-from-unlisted-to-listed-via-api/73375 "2021-01-06T23:15:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradcush](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/bradcush/32/43811_2.png) [@bradcush](https://discourse.mozilla.org/u/bradcush)\
**Post date:** [January 6, 2021, 11:15pm UTC](https://discourse.mozilla.org/t/unable-to-switch-extension-from-unlisted-to-listed-via-api/73375/1 "2021-01-06T23:15:41Z")

</div>

Based on what’s mentioned in the documentation related to the addons API ([https://addons-server.readthedocs.io/en/latest/topics/api/signing.html#uploading-a-version](https://addons-server.readthedocs.io/en/latest/topics/api/signing.html#uploading-a-version)), I understand it’s possible to switch an extension from “unlisted” to “listed”.

> For example, if you submit a version as `listed` then the next version will be `listed` if you don’t specify the channel.

For additional information I’m using the NodeJS API library provided by Mozilla ([GitHub - mozilla/sign-addon: Sign a Firefox add-on with Mozilla's web service](https://github.com/mozilla/sign-addon/)) to make the call and have been able to upload previous “unlisted” versions using it.

I’ve been doing some tests on my own with a test extension but receive an error from the server reporting “You cannot add a listed version to this addon via the API due to missing metadata. Please submit via the website”. I would prefer to submit this change using the API but have been unable to find any additional info on where to specify this metadata to be able to do so.

Any help would be greatly appreciated on whether this metadata can be included somewhere in the extension manifest file for the extension which I am submitting or if there is some simple information to fill first for the extension inside of the “Add-on Developer Hub” that would allow submission through the API. Thanks in advance for any help!

---

<div class="post-metadata">

**Author:** ![freaktechnik](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/freaktechnik/32/37766_2.png) [@freaktechnik](https://discourse.mozilla.org/u/freaktechnik)\
**Post date:** [January 7, 2021, 1:08pm UTC](https://discourse.mozilla.org/t/unable-to-switch-extension-from-unlisted-to-listed-via-api/73375/2 "2021-01-07T13:08:19Z")

</div>

As far as I’m aware there is currently no API for submitting all additional metadata a listed version can get. However, I think only the very first listed version doesn’t work via API, after that they should technically work, while missing the version specific information (like the source upload or changelog).

---

<div class="post-metadata">

**Author:** ![bradcush](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/bradcush/32/43811_2.png) [@bradcush](https://discourse.mozilla.org/u/bradcush)\
**Post date:** [January 7, 2021, 3:19pm UTC](https://discourse.mozilla.org/t/unable-to-switch-extension-from-unlisted-to-listed-via-api/73375/3 "2021-01-07T15:19:09Z")

</div>

Ok thank you for the quick reply and clarification here. I’ll go ahead and submit through the store manually and see if I’m able to update using the API thereafter.
